[Accessibility] Required accessibility parent role with multiple role tokens

Open
#264 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
html
Domain
accessibility

Research direction

Read the linked w3c/aria pull request comment first, then the ARIA rules for role token fallback and required parent roles. Find the existing interop test files for accessibility children exposure in this repo and locate the case that covers list/listitem with focusable children. "Done" here means a test that pins the expected behavior (ul exposed as list, focusable li exposed) plus a clear report against the browser that fails it.

Written by the indexing model from the issue text.

Description

Following up on my comment on #2237, there seems to be an inconsistency in how user agents expose accessibility children when the required accessibility parent has multiple role tokens.

For example:

<ul role="list none">
  <li tabindex="0">a</li>
</ul>

In this case, list is the first supported role and should be selected, while none is only a fallback token and should not affect the computed role.
However, when testing this in Chrome, the ul is exposed as a list, while the focusable li is ignored.

Dominant language
No language data
Stars
57
Forks
5
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from web-platform-tests/interop-accessibility

All issues in web-platform-tests/interop-accessibility

Similar issues

More Accessibility issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.