Bugzilla – Bug 667
Validator doesn't recognize the role attribute on section elements
Last modified: 2009-12-02 04:40:50 CET
According to the spec at http://www.whatwg.org/specs/web-apps/current-work/#annotations-for-assistive-technology-products-%28aria%29, a number of role attributes should be valid for the section element.
However, the validator doesn't recognize the role attribute at all.
For reference here's a simple page failing validation:
This is now fixed in the source. You can test here:
TODO: This just adds common.attrs.aria to section. This should eventually either be replaced by a change to the rnc schema that more properly expresses the constraints, or be supplemented with additional constraint-checking in the assertions code (in order to check that the value of the role element is constrained to region, document, application, contentinfo, main, search, alert, dialog, alertdialog, status, or log).