Skip to content

fix(ui5-user-settings-dialog): use default list role instead of menu - #13934

Merged
SvilenDarvenyashki merged 4 commits into
mainfrom
user-settings-dialog-role-menu
Aug 17, 2026
Merged

fix(ui5-user-settings-dialog): use default list role instead of menu#13934
SvilenDarvenyashki merged 4 commits into
mainfrom
user-settings-dialog-role-menu

Conversation

@SvilenDarvenyashki

Copy link
Copy Markdown
Contributor

The side navigation List in UserSettingsDialog used accessibleRole="Menu", rendering role="menu" on the list and role="menuitem" on its items. This put screen readers into menu-interaction mode, which caused several accessibility problems:

  • Items were announced with menu semantics instead of list semantics.
  • The surrounding modal dialog (its name, "Content Region", structure) was not announced at all.

Removing the Menu role lets the List use its default list role, which matches the ListItemStandard children. The dialog is now announced correctly, and arrow-key list navigation is announced properly.

Added a Cypress test verifying the list exposes role="list" (not menu) and that items don't inherit role="menuitem".

@sap-ui5-webcomponents-release

Copy link
Copy Markdown

@nnaydenow
nnaydenow deployed to netlify-preview August 17, 2026 10:26 — with GitHub Actions Active
@SvilenDarvenyashki
SvilenDarvenyashki merged commit 3d81780 into main Aug 17, 2026
20 of 21 checks passed
@SvilenDarvenyashki
SvilenDarvenyashki deleted the user-settings-dialog-role-menu branch August 17, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants