Ticket #5984 (new enhancement)

Opened 9 months ago

Last modified 5 months ago

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

Changed 8 months ago by becky

We need to this or #4828 but not both.

Changed 8 months ago by davidb

  • cc davidb added

Changed 5 months ago by becky

  • description modified (diff)
  • milestone changed from 1.2 to 1.3
Note: See TracTickets for help on using tickets.