[Bug 25219] New: Remove aria restrictions from table elements per HTML specs

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25219

            Bug ID: 25219
           Summary: Remove aria restrictions from table elements per HTML
                    specs
           Product: Nu Markup Checker
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: General
          Assignee: mike+validator@w3.org
          Reporter: kurosawa-takeshi@mitsue.co.jp
        QA Contact: www-validator-cvs@w3.org

Created attachment 1461
  --> https://www.w3.org/Bugs/Public/attachment.cgi?id=1461&action=edit
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 31 March 2014 23:32:46 UTC