Skip to content

feat(ui5-list): inherit list item aria roles from accessibleRole#13463

Merged
plamenivanov91 merged 3 commits into
mainfrom
li-expose-accRole
May 11, 2026
Merged

feat(ui5-list): inherit list item aria roles from accessibleRole#13463
plamenivanov91 merged 3 commits into
mainfrom
li-expose-accRole

Conversation

@plamenivanov91
Copy link
Copy Markdown
Contributor

Map list accessibleRole values to child item roles (Menu -> menuitem, Tree -> treeitem, ListBox -> option) during list item preparation. Expose ui5-li accessibleRole as public and allow explicit item role to override inherited role. Add Cypress coverage for inheritance and precedence behavior. Add local test page and website sample documenting accessible-role inheritance and overrides.

Fixes #13264

Map list accessibleRole values to child item roles (Menu -> menuitem, Tree -> treeitem, ListBox -> option) during list item preparation.
Expose ui5-li accessibleRole as public and allow explicit item role to override inherited role.
Add Cypress coverage for inheritance and precedence behavior.
Add local test page and website sample documenting accessible-role inheritance and overrides.

Fixes #13264
@plamenivanov91 plamenivanov91 requested a review from NakataCode May 5, 2026 07:43
@plamenivanov91 plamenivanov91 changed the title fix(ui5-list): inherit list item aria roles from accessibleRole feat(ui5-list): inherit list item aria roles from accessibleRole May 5, 2026
@ui5-webcomponents-bot
Copy link
Copy Markdown
Collaborator

ui5-webcomponents-bot commented May 5, 2026

🧹 Preview deployment cleaned up: https://pr-13463--ui5-webcomponents.netlify.app

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview May 5, 2026 07:50 Inactive
Comment thread packages/main/src/ListItem.ts Outdated
Comment thread packages/main/src/ListItem.ts Outdated
@plamenivanov91 plamenivanov91 requested a review from NakataCode May 11, 2026 09:32
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview May 11, 2026 09:40 Inactive
@plamenivanov91 plamenivanov91 merged commit 37e9fef into main May 11, 2026
21 of 22 checks passed
@plamenivanov91 plamenivanov91 deleted the li-expose-accRole branch May 11, 2026 13:33
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview May 11, 2026 13:34 Inactive
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.

[Feature Request]: ListItem expose accessibleRole

3 participants