Open AlexYanSap opened 10 hours ago
Hi @AlexYanSap,
I see that you're trying to set the accessibleName property for the ui5-list-item like so:
<ui5-li accessibleName='Orange' selected>Orange</ui5-li>
, however the attribute equivalent of the properties in ui5 webcomponents need to be written in kebab case, like so:
<ui5-li accessible-name='Orange' selected>Orange</ui5-li>
Hi @SAP/ui5-webcomponents-topic-p,
I was able to reproduce the issue with the steps described above: setting an accessible-name on ui5-list-item results in for the checkbox, JAWS outputs the i18n bundle text for ariaLabel instead of the value of accessibleName property in MultiSelect mode. When testing with an isolated ui5-checkbox with accessible-name set, everything works okay. Could you please take a look at this?
Best regards, Siyana
Bug Description
Affected Component
ui5-list
Expected Behaviour
Ensure that, JAWS should recognize all the checkbox available in the list upon invoking the JAWS shortcut key 'CTRL+INSERT+X' with the label name.
Isolated Example
https://sap.github.io/ui5-webcomponents/v1/play/#eyJpbmRleC5odG1sIjp7Im5hbWUiOiJpbmRleC5odG1sIiwiY29udGVudCI6IjwhLS0gcGxheWdyb3VuZC1mb2xkIC0tPlxuPCFET0NUWVBFIGh0bWw-XG48aHRtbCBsYW5nPVwiZW5cIj5cblxuXG48aGVhZD5cbiAgICBcbiAgICA8c3R5bGU-XG4gICAgICAqOm5vdCg6ZGVmaW5lZCkge1xuICAgICAgICBkaXNwbGF5OiBub25lO1xuICAgICAgfVxuICAgIDwvc3R5bGU-XG5cbiAgICA8bWV0YSBjaGFyc2V0PVwiVVRGLThcIj5cbiAgICA8bWV0YSBuYW1lPVwidmlld3BvcnRcIiBjb250ZW50PVwid2lkdGg9ZGV2aWNlLXdpZHRoLCBpbml0aWFsLXNjYWxlPTEuMFwiPlxuICAgIDx0aXRsZT5TYW1wbGU8L3RpdGxlPlxuPC9oZWFkPlxuXG48Ym9keSBzdHlsZT1cImJhY2tncm91bmQtY29sb3I6IHZhcigtLXNhcEJhY2tncm91bmRDb2xvcilcIj5cbiAgICA8IS0tIHBsYXlncm91bmQtZm9sZC1lbmQgLS0-XG5cbiAgICA8dWk1LWxpc3Q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iPjwvc2NyaXB0PlxuPC9ib2R5PlxuXG48L2h0bWw-XG48IS0tIHBsYXlncm91bmQtZm9sZC1lbmQgLS0-XG4ifSwibWFpbi5qcyI6eyJuYW1lIjoibWFpbi5qcyIsImNvbnRlbnQiOiIvKiBwbGF5Z3JvdW5kLWhpZGUgKi9cbmltcG9ydCBcIi4vcGxheWdyb3VuZC1zdXBwb3J0LmpzXCI7XG4vKiBwbGF5Z3JvdW5kLWhpZGUtZW5kICovXG5pbXBvcnQgXCJAdWk1L3dlYmNvbXBvbmVudHMvZGlzdC9MaXN0LmpzXCI7XG5pbXBvcnQgXCJAdWk1L3dlYmNvbXBvbmVudHMvZGlzdC9TdGFuZGFyZExpc3RJdGVtLmpzXCI7XG5cbmltcG9ydCBcIkB1aTUvd2ViY29tcG9uZW50cy1pY29ucy9kaXN0L21hcC5qc1wiOyJ9fQ
Steps to Reproduce
modify MultiSelect demo code in the index.html to `
`
All list items will have a checkbox when using the ui5-list in MultiSelect mode.
With JAWS, press CTRL+INSERT+X , to identify the checkboxes
Observe that the label name of the checkbox was not found
Log Output, Stack Trace or Screenshots
No response
Priority
Medium
UI5 Web Components Version
1.24.3 and 2.X.X
Browser
Chrome, Edge
Operating System
No response
Additional Context
No response
Organization
SAP SF
Declaration