-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarification on <th> contextual mapping #523
Comments
In addition to or instead of the
|
Meant to add that label to the related WPT issue, not this one. |
WG update... @scottaohara FYI... We'll agenda+ once the other tests are written... |
I would advise against this because it would destroy many tables in terms of accessibility. Many tables use th in the tbody in auto state for column headers. This is defined in the HTML spec. Your suggestion would turn the column headers into row headers and the tables would no longer work |
Hello @JAWS-test! If I'm understanding correctly, although To clarify, I raised this issue to provide clarity on As @cookiecrook noted above, additional testing would reveal how browsers currently treat |
Partly correct. The HTML specification states:
and
This seems to me to be a sufficient definition and no deviating definitions should be made. If you don't like this definition, you should open a ticket at whatwg. And if the browsers deviate from this, they are faulty and this should be reported to them so that they can correct the error |
I would propose adding some additional guidance on how
<th>
should be mapped that takes into account whether<th>
is a child of<thead>
(computes asrole="columnheader"
) or<tbody>
(computes asrole="rowheader"
).I'm unable to identify where this is explicitly stated in the HTML spec or ARIA in HTML.
Current
<th>
mappings in html-aam:Relevant
<th>
role test in wpt/html-aam/table-roles.html and its results: https://wpt.fyi/results/html-aam/table-roles.html?label=experimental&label=master&alignedThe text was updated successfully, but these errors were encountered: