-
Notifications
You must be signed in to change notification settings - Fork 5
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
Remove orphaned children accessible tests, or clarify ARIA spec #109
Comments
Thanks for filing @nmlapre! I think we could move these specific tests into a |
Unassigning myself in case someone can get to this WPT PR before I do. Please assign yourself if/when you intend to work on this imminently. Note: this will change the 2024 Accessibility Focus Area results by removing quite a few subtests, so there will be some scrutiny on the related PR. |
I'm not able to assign myself to this issue (permissions with the repo, I think) but I just posted a PR with the changes: web-platform-tests/wpt#45032. I decided to lump all the tests in a single, segmented |
Seems like the relevant reqs may be covered sufficiently in the Core-AAM spec. web-platform-tests/wpt#45032 (review) |
FYI, we've received some additional implementation concerns about the "orphaned roles" prose. Seems like one or more implementations may be working around this in the test context primarily, which defeats the purpose of testing… I'll be opening an ARIA spec issue and possibly moving some of these tests to |
The web platform tests have a number of cases verifying the roles of "orphaned" accessible nodes with expected parent/child role relationships. For instance, one test expects this markup:
to have role "button," rather than role "gridcell," since the supposed gridcell exists outside of the context of a row.
After reviewing the ARIA spec, it seems to me that this isn't the responsibility of the user agent. In the case of gridcell, for instance, the spec puts the onus on authors:
This language appears in all of the parent/child role relationship cases I reviewed. Namely: listbox/option, menu/menuitem (and variants), table/row, table/rowgroup, row/gridcell, row/rowheader, row/columnheader, list/listitem, tablist/tab, and tree/treeitem.
Similarly, section 9.2 mentions:
It seems to me that the tests are verifying a remediation not required by the ARIA spec. After discussing with @jcsteh, we're not sure whether we should implement this behavior in Firefox. Should we strike the tests from the WPT repo, or are the tests valid? Do we need a clarification of the ARIA spec?
Referenced tests:
The text was updated successfully, but these errors were encountered: