Ticket #5768 (new enhancement)

Opened 6 months ago

Last modified 3 days ago

Support new ARIA syntax in templates

Reported by: simonjb Owned by: becky
Priority: normal Milestone: 1.3
Component: Accessibility Version: 1.0
Severity: normal Keywords:
Cc:

Description (last modified by davidb) (diff)

Our template syntax is different from, and more verbose than, the new ARIA syntax for setting roles and states. We need some processing of role and state specifications in templates because FF2 does not support the new syntax. However, we could parse the new syntax in templates and make the necessary changes for FF2.

For example:

  • waiRole="menu" vs. role="menu"
  • waiState="labelledby-foo" vs. aria-labelledby="foo"

Change History

Changed 3 months ago by davidb

  • description modified (diff)

Note we could probably do this along side 5984. I wouldn't mind taking this one, and maybe pairing with Joseph so he can get a bit of a widget template tour.

Changed 3 weeks ago by becky

  • milestone changed from 1.2 to 1.3

Changed 3 days ago by bill

There are a couple options:

  • change the syntax; this breaks backwards compatibility but I'm doubtful anyone outside of dijit is doing a11y in their templates
  • change the syntax for the 2.0 release
  • support old and new syntax concurrently; I don't want to do that since it adds more overhead to widget instantiation.

Also note that the new syntax can be handled natively by FF3, which would make template rendering faster except for FF2.

Note: See TracTickets for help on using tickets.