Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui5-dynamic-side-content): add customizable aria labels #10416

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

NHristov-sap
Copy link
Contributor

@NHristov-sap NHristov-sap commented Dec 18, 2024

Until now the Dynamic Side Content component (<ui5-dynamic-side-content>) had role with value complementary and fixed translatable aria-label only for its Side Content area.

With this PR is intruduced new property accessibilityAttributes that can be used for setting of custom aria-label texts for both Main Content and Side Content areas. Also, a role attribute with value main and a fixed translatable label is provided for the Main Content as a fallback if there is no custom label defined.

There are tests added for the new feature.

Fixes: #8612

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants