Skip to content

[stable5.4] fix(a11y): use role group for ranking lists container - #3863

Merged
AndyScherzinger merged 1 commit into
stable5.4from
backport/3842/stable5.4
Nov 8, 2026
Merged

AndyScherzinger merged 1 commit into
stable5.4from
backport/3842/stable5.4

Conversation

@backportbot

@backportbot backportbot Bot commented Nov 8, 2026

Copy link
Copy Markdown

Backport of PR #3842

The submit-mode ranking question wrapped two inner lists in a container
with role="list" even though it is not a list itself. Change the outer
container to role="group", keep the named inner lists, and add an
explicit role="list" so WebKit exposes them as lists despite missing
list markers. The ranked list only gets the role while populated to
avoid an empty list role. Add a Playwright regression test asserting
the group, the list names and the explicit roles.

Signed-off-by: yashgill-10 <yashgill-10@users.noreply.github.com>
@backportbot backportbot Bot added enhancement New feature or request 3. to review Waiting for reviews a11y related to accessibility labels Nov 8, 2026
@AndyScherzinger
AndyScherzinger merged commit 29c786a into stable5.4 Nov 8, 2026
42 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/3842/stable5.4 branch November 8, 2026 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews a11y related to accessibility enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants