Closed zhangliangyi closed 4 years ago
Provided aria-label or aria-labelledby property for the following components: ui5-textarea, ui5-datepicker and ui5-select
https://github.com/SAP/ui5-webcomponents/pull/2126 https://github.com/SAP/ui5-webcomponents/pull/2125 https://github.com/SAP/ui5-webcomponents/pull/2124
Best, ilhan
Dear colleague,
I am from Successfactors Web Experience Shanghai team.
Describe the bug As the id defined in
for
property of ui5-label takes no effect to the inner input element in shadow DOM, thearia-label
oraria-labelledby
property is required for screen reader to identify the linked label.But so far neither
aria-label
noraria-labelledby
is exposed from the component.To reproduce Steps to reproduce the behavior:
Label 'for'
Expected behavior When focus to the datepicker, select or textarea, the linked label should be read.
Context
Affected components (if known)
Thanks Jacob