Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12458 closed task (fixed)

remove dijit/_base/wai.js dependencies from dijit, dojox

Reported by: bill Owned by: Douglas Hays
Priority: high Milestone: 1.7
Component: Dijit Version: 1.6.0
Keywords: 1.7-mobile Cc:
Blocked By: Blocking:

Description (last modified by bill)

Continuing on work from #10997 (and related ticket #12275), remove the dependency on wai.js from dijit and dojox.

Something like:

dijit.setWaiState(this.focusNode, "disabled", value);

can be replaced by the more direct (and slightly faster):

this.focusNode.setAttribute("aria-disabled", false);

Refs [23045] / #12368, which split _waiMixin into a separate file, although that was later reverted.

Change History (6)

comment:1 Changed 9 years ago by bill

Description: modified (diff)

comment:2 Changed 9 years ago by Douglas Hays

Milestone: tbd1.7
Status: newassigned
Type: defecttask

comment:3 Changed 9 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

(In [24068]) Fixes #12458. Inline wai functions to reduce mobile widget overhead.

comment:4 Changed 9 years ago by bill

(In [25407]) In async mode, don't make _Widget pull in wai.js. Remove wai.js dependencies from existing code, as it doesn't provide a lot of value on top of native setAttribute() etc. calls. Refs #12458 !strict.

comment:5 Changed 9 years ago by bill

Description: modified (diff)
Summary: remove _waiMixin dependency from lightweight mixinremove dijit/_base/wai.js dependencies from dijit, dojox

comment:6 Changed 9 years ago by bill

(In [25410]) callback parameter to require() is optional, refs #12458 !strict.

Note: See TracTickets for help on using tickets.