#15853 closed defect (fixed)
[patch][CCLA] dijit.TitlePane: missing aria-labelledby and invalid roles on locked pane
Reported by: | mikeb | Owned by: | bill |
---|---|---|---|
Priority: | undecided | Milestone: | 1.8.1 |
Component: | Dijit | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The dijit.TitlePane? containerNode has "role='region'" but according to WAI-ARIA specification anything with "role='region'" also should have a label or title (this is for JAWS screen reader accessibility navigation by region).
Patch fixes this by giving the titleBarNode an ID and then using aria-labelledby on the containerNode pointing back to the titleBarNode.
Also fixes a problem where a "locked" TitlePane? had an invalid aria-pressed attribute on the titleNode. This was because setting locked to true also correctly changed the titleBarNode's role from "Button" to "heading" but did not remove the aria-pressed.
Finally the patch fixes up the test page to be more accessible.
adds aria-labelled by on titlePane, fixes locked pane role, please proxy commit for Michael Billau (CCLA on file with IBM)