Conversation
accessibilityAttributes
accessibilityAttributesaccessibilityAttributes
GerganaKremenska
left a comment
There was a problem hiding this comment.
looks good for team Rodopi components!
|
Looks good for team Pirin components. |
elenastoyanovaa
left a comment
There was a problem hiding this comment.
+1 from my side.
elenastoyanovaa
left a comment
There was a problem hiding this comment.
Don't forget to update the PR description as I assume that some parts are outdated after the last changes. Please inform me once the PR is submitted as we need to update the Accessibility Documentation Chapter after that.
| @@ -26,7 +26,6 @@ import ButtonType from "./types/ButtonType.js"; | |||
| import ButtonAccessibleRole from "./types/ButtonAccessibleRole.js"; | |||
There was a problem hiding this comment.
Seems like the ButtonAccessibleRole enum is no longer needed. We could use the AriaRole enum now instead. Same applies for the ui5-link component and the corresponding accessibleRole property. There is the following related PR: https://github.com/SAP/ui5-webcomponents/pull/8807/files
Unifies the API to define additional a11y attributes cross components. The common approach in all relevant components to define additional a11y attributes is via property
accessibilityAttributes:Fixes: #8353
BREAKING CHANGE:
ui5-flexible-column-layout
accessibilityTextsaccessibilityRolesaccessibilityTextsandaccessibilityRolesproperties of theui5-flexible-column-layoutare removed.If you have previously used the
accessibilityTextsoraccessibilityRolesproperties:Now use
accessibilityAttributesinstead:ui5-shellbar
accessibilityTextsaccessibilityRolesaccessibilityTextsandaccessibilityRolesproperties of theui5-shellbarare removed.If you have previously used the
accessibilityTextsoraccessibilityRolesproperties:Now use
accessibilityAttributesinstead:Changes
1. Avatar and AvatarGroup
accessibilityAttributesproperty.ariaHasPopupstandalone private property and allow settingaria-haspopupvia the publicaccessibilityAttributes2. Unified API to define additional a11y attributes
The common approach in all relevant components to define additional a11y attributes is via property
accessibilityAttributesThe
accessibilityAttributesproperty is of newly created typeAccessibilityAttributes, that is describing which attributes are supported and their exact values:3. Fixes
titleproperty (publictooltipis available)ariaHasPopupstandalone private property and allow settingaria-haspopupvia the publicaccessibilityAttributesDon't
Do