Ticket #5984 (new enhancement)
Use dojo.attr for ARIA states and properties
| Reported by: | simonjb | Owned by: | becky |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3 |
| Component: | Accessibility | Version: | 1.0 |
| Severity: | normal | Keywords: | |
| Cc: | davidb |
Description (last modified by becky) (diff)
We could move the functionality of:
- dijit.hasWaiState
- dijit.getWaiState
- dijit.setWaiState
- dijit.removeWaiState
into dojo.attr, using the "aria-" prefix for state and property names. For example dijit.setWaiState(elem, "haspopup", true) would become dojo.attr(elem, "aria-haspopup", true). This change would have the advantage of reducing the API size and implementing the latest ARIA attribute syntax. We will need some FF2 special-case processing but that can be triggered by the "aria-" prefix.
Change History
Note: See
TracTickets for help on using
tickets.