The current carousel shadowroot item with role="option" does not have property aria-selected="true". This results in unwanted screenreader announcement for more complex content. For example, when the carousel content has a button within it, the screenreader announces "Unselected" before announcing the button information which is incorrect. "Unselected" should not be announced.
Affected Component
ui5-carousel
Expected Behaviour
Carousel shadowroot content with role="option" should have aria-selected="true" when it is the current carousel item. When navigating to a button in the carousel content, "Unselected" should not be announced by screenreaders.
Bug Description
The current carousel shadowroot item with role="option" does not have property aria-selected="true". This results in unwanted screenreader announcement for more complex content. For example, when the carousel content has a button within it, the screenreader announces "Unselected" before announcing the button information which is incorrect. "Unselected" should not be announced.
Affected Component
ui5-carousel
Expected Behaviour
Carousel shadowroot content with role="option" should have aria-selected="true" when it is the current carousel item. When navigating to a button in the carousel content, "Unselected" should not be announced by screenreaders.
Isolated Example
https://codesandbox.io/p/sandbox/ui5-webcomponents-forked-jc456m
Steps to Reproduce
Log Output, Stack Trace or Screenshots
No response
Priority
Medium
UI5 Web Components Version
1.24.0
Browser
Chrome
Operating System
Mac OS
Additional Context
No response
Organization
SuccessFactors
Declaration