This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Created attachment 1461 [details] Patch (syntax module) HTML5 and HTML 5.1 don't have aria restrictions for table elements (caption, colgroup, col, thead, tfoot, and tbody). http://www.w3.org/html/wg/drafts/html/master/dom.html#wai-aria http://www.w3.org/html/wg/drafts/html/CR/dom.html#wai-aria Thus below should be OK: <!DOCTYPE html> <html> <head> <title>Test</title> </head> <body> <table role="grid" aria-readonly="true"> <thead role="rowgroup"> <tr role="row"><td role="gridcell">thead</td></tr> </thead> <tfoot role="rowgroup"> <tr role="row"><td role="gridcell">tfoot</td></tr> </tfoot> <tbody role="rowgroup"> <tr role="row"><td role="gridcell">tbody</td></tr> </tbody> </table> </body> </html> However Nu Markup Checker produces following errors: Error: Bad value rowgroup for attribute role on element thead. Error: Bad value rowgroup for attribute role on element tfoot. Error: Bad value rowgroup for attribute role on element tbody. I think aria restrictions for table elements should be removed.
Steve, Can you confirm that the validator is currently not conforming to the spec here? That is, e.g., <thead role="rowgroup">, <tfoot role="rowgroup">, and <tbody role="rowgroup"> should not be errors?
(In reply to Michael[tm] Smith from comment #1) > Steve, > > Can you confirm that the validator is currently not conforming to the spec > here? > That is, e.g., <thead role="rowgroup">, <tfoot role="rowgroup">, and <tbody > role="rowgroup"> should not be errors? hi Mike, that's correct role=rowgroup is conforming in this context. There are no restrictions on the roles that table related elements can have in HTML http://www.w3.org/html/wg/drafts/html/master/dom.html#wai-aria ARIA rolegroup specifics http://www.w3.org/TR/wai-aria/roles#rowgroup for your baroqueness appreciation club ;-)
Fixed. https://github.com/validator/syntax/commit/6eebd88501adc53e0be56be807d13632085e935a Kurosawa-san, thanks for catching this and reporting it.