You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just find that the screen reader is not able to read label text when the focus is on the input element associated with that label. I tried to set for attribute on the label that points to the input's id, like the example below:
Part of #3107
BREAKING CHANGE: The support for ```aria-labelledby``` have been deprecated in favour of new attribute ```accessible-name-ref``` for the following components:
- ComboBox (Requested by SF #1916)
- DatePicker (Requested by SF #2107)
- Input (Requested #1866)
- List (Requested by SF #1886)
- Rating Indicator
- Select (Requested by SF #2107)
- StepInput (Implemented as part of the initial implementation #2804)
- TextArea (Requested by SF #2107)
- WizardStep (Implemented as part of the initial implementation #2400)
The ```aria-labelledby``` has been deprecated for the following component:
- Button (Requested by SF #1425)
The ```accessible-name``` has been deprecated for the following components:
- Link (Requested by SF #2356)
Both ```aria-labelledby``` and ```accessible-name``` have been deprecated for the following components:
- Card (Requested by CBC #2127)
- CheckBox (Requested by SF #2265)
Hello,
I just find that the screen reader is not able to read label text when the focus is on the input element associated with that label. I tried to set for attribute on the label that points to the input's id, like the example below:
<ui5-label for="myInput" required show-colon>First name</ui5-label>
<ui5-input id="myInput" aria-required="true"></ui5-input>
I also tried to set aria-labelledby attribute on the input element that points to the label id, like the example below:
<ui5-label id="myLabel" required show-colon>First name</ui5-label>
<ui5-input aria-labelledby="myLabel"></ui5-input>
Unfortunately, both ways don't work for the screen readers. I also found that the second approach work only for native input.
Regards,
Grigor
The text was updated successfully, but these errors were encountered: