Bugzilla – Bug 819
Unsupported wai-aria roles columnheader, heading, rowheader and tablist
Last modified: 2013-04-20 18:28:55 CEST
Both validator.w3.org and html5.validator.nu give errors on four wai-aria roles: columnheader heading rowheader tablist For my test I took the roles from the DTD [1], which is from 2002. These roles are also in the current Candidate Recommendation. This is my test document: <!DOCTYPE html> <html> <head> <title></title> </head> <body> <div role="grid"> <div role="row"> <div role="columnheader"></div> <div role="rowheader"></div> </div> </div> <div role="heading"></div> <div role="tablist"></div> </body> </html> To reproduce: Paste the code above in the validator (validator.w3.org or html5.validator.nu) with default settings. Result: errors are reported Expected: the page validates [1] http://svn.codetalks.org/repos/trunk/tools/ARIA-DTDs/xhtml1-strict-ARIA1.dtd
Fixed. You can test at http://validator.w3.org/nu/