Skip to content

feat(ui5-dynamic-side-content): add 'role' property to accessibilityAttributes object#13476

Draft
NHristov-sap wants to merge 2 commits intomainfrom
BL_dsc_role
Draft

feat(ui5-dynamic-side-content): add 'role' property to accessibilityAttributes object#13476
NHristov-sap wants to merge 2 commits intomainfrom
BL_dsc_role

Conversation

@NHristov-sap
Copy link
Copy Markdown
Contributor

Until now, there were hardcoded roles for main (role="main") and side (role="complementary") containers of the ui5-dynamic-side-content component. In general case that is fine, but there are use cases where the component is placed in another landscape component that already has role="main" attribute, which produces Accessibility issues.

This PR introduces new property role in the accessibilityAttributes object of the component both for main and side containers (with fallback to currently existing values if there is no other specified). That way, the developer can set another value if the use case requires such change.

@NHristov-sap NHristov-sap changed the title feat(ui5-dynamic-side-content): add 'role' property in accessibilityAttributes feat(ui5-dynamic-side-content): add 'role' property to accessibilityAttributes object May 7, 2026
@ui5-webcomponents-bot
Copy link
Copy Markdown
Collaborator

ui5-webcomponents-bot commented May 7, 2026

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview May 7, 2026 13:27 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview May 7, 2026 13:53 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.

2 participants