Bugzilla – Bug 940
role="tablist" always raise error
Last modified: 2013-04-20 18:06:55 CEST
Created attachment 223 [details] Patch for validator/syntax role="tablist" always raise syntax error on Validator.nu. Because the relaxng file omits "common.attrs.aria |= aria.tablist". How to reproduce: Paste following html in http://html5.validator.nu/ text area. <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>role="tablist"</title> </head> <body> <ul role="tablist"> <li role="tab">Tab 1</li> <li role="tab">Tab 2</li> </ul> <ul> <li role="tabpanel">Tab panel 1</li> <li role="tabpanel">Tab panel 2</li> </ul> </body> </html> Error I got: Error: Bad value tablist for attribute role on element ul.
Fixed in the validator sources. You can test at http://validator.w3.org/nu/