Closed DLaskov closed 3 years ago
Hello @SAP/ui5-webcomponents-team,
This is a react sample issue and it is reproducible via the provided by the author steps. The issue is also reproducible via jaws 2021 and jaws 2019 as the labels in the provided sample aren't referenced via aria-label or aria-labelledby in the input fields.
Best Regards, Boyan Rakilovski
Hello @SAP/ui5-webcomponents-team, The issue is also reproducible with the component MultiComboBox. https://support.wdf.sap.corp/sap/support/message/2070307117
Hi @DLaskov @angelzbg
In the world of web components, the native approach with for
attribute is not working
In order to use the ui5-label
as acc text in the given components, you can use the accessibleNameRef
property which receives id(or many ids) of the elements that label the given component.
Hello @fifoosid, I see this fix is release in @latest version. Is there plan to include this in sf releases? We also need this to fix the similar accessibility issue.
Hi @2bno1
For which components do you need the accessibleNameRef
property?
Hello @fifoosid
So far I need accessibleNameRef
property supported for ui5-input
, ui5-textarea
, ui5-date-picker
, ui5-step-input
.
Regards.
Hi @2bno1
Currently accessibleNameRef
is available for all of the listed components.
@fifoosid I see accessibleNameRef
is available in @latest version. However, I didn't see it's included in sf version (0.31.x).
@fifoosid Is it possible to include accessibleNameRef
in sf version (0.31.x)?
Hi @2bno1
As you might know, the 0.31.x branch is behind the latest our latest version(rc15). We have this functionality in the 0.31 branch, but the naming is different. Instead of using accessibleName
and accessibleNameRef
, you can use ariaLabel
and ariaLabelledby
. These two properties work in the exact same way.
@fifoosid
Our project does not depend on @ui5-webcompnents directly, instead, it depends on @ui5-webcomponents-react which wrap the @ui5-webcomponents, I think there's gap between @ui5-webcomponents-react 0.131.x and @ui5-webcomponents 0.13.x as I see the Input from @ui5-webcomponents-react 0.131.x does not support these a11y related props (either accessibleName
, accessibleNameRef
or ariaLabel
, ariaLabelledby
.
I'll create a ticket for @ui5-webcomponents-react about this.
Thanks.
Bug Description
When an input with Label has been accessed the label of the input is not conveyed to the user. (With Windows Narrator)
Expected Behavior
Ideally, when an input/select is accessed and it has an associated label with it, it should be read out by Windows Narrator.
Steps to Reproduce
Context
Priority
Additional Info (if applicable)
https://support.wdf.sap.corp/sap/support/message/2180312189