-
Notifications
You must be signed in to change notification settings - Fork 103
[SF] Object page: a11y issue where expand / collapse header label is misinforming #7365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I wasn't able to reproduce this issue. Please add clear steps how to reproduce it and add the version of the Screen Reader you're using. I tested it with VoiceOver (MacOs 15.5 (24F74)): 2025-05-20_13-43-57.mp4 |
https://github.com/user-attachments/assets/b1a278f0-8764-4f30-a6d4-59cbded5f1d6
let me know if there's anything else which you need to reproduce? @Lukas742 |
@gauravroy1995 I changed the verbosity settings to "High" of the speech output of VoiceOver and now the announcement is made. There are no clear specifications regarding this behavior, so we will follow the SapUI5 implementation and remove the |
@gauravroy1995 I just checked why we implemented the This is the issue in question: #5666 |
let me ask the team and will get back to you soon. |
Hi @Lukas742 I think here the ask is to see if we can remove Expand/Collapse label which is misleading along with the aria-expanded state, also I wouldn't recommend in removing expanded state announcement, hence can you please check if is possible to update the aria-label to avoid redundant information? |
Hi all, the "expanded" state announcement is coupled with We decided to allow controlling the <ObjectPage
accessibilityAttributes={{
objectPageAnchorBar: {
expandButton: {
expanded: undefined, //this will remove `aria-expanded`
accessibleName: 'Custom Label', // this will override the internal `aria-label`
},
},
}}
> |
🎉 This issue has been resolved in version v2.11.0 🎉 The release is available on v2.11.0 Your semantic-release bot 📦🚀 |
Describe the bug
the expand/collapse header button while checking in screen reader outputs as Collapse Header Button Expanded and Expand Header Button Collapsed .
here the intitial collapse/expand keyword is confusing since both are labeled in same sentence.
It can be like Header button collapsed, thats it.
Isolated Example
No response
Reproduction steps
...
Expected Behaviour
Just portray Header Button Expanded or Header Button Collapsed and also a little more explicit control so that more labels can be added to the button
Screenshots or Videos
UI5 Web Components for React Version
2.10.0
UI5 Web Components Version
2.10.0
Browser
Chrome
Operating System
No response
Additional Context
No response
Relevant log output
Organization
No response
Declaration
The text was updated successfully, but these errors were encountered: