-
Notifications
You must be signed in to change notification settings - Fork 273
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: rename aria-label to accessible-name #3449
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you change the jsdoc of the accessible name for all components with something like the description for the panel https://sap.github.io/ui5-webcomponents/master/playground/components/Panel/ ?
@@ -2,8 +2,8 @@ import findNodeOwner from "./findNodeOwner.js"; | |||
|
|||
const getEffectiveAriaLabelText = el => { | |||
if (!el.ariaLabelledby) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this line needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it is. Based on this check, getAriaLabelledByTexts
(line 12) is called.
Part of #3107
BREAKING_CHANGE:
ariaLabell
property is renamed toaccessible-name
for the following components: