Skip to content
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

ui5-button: aria-expanded not working for screen reader #1705

Closed
SherrySherry123 opened this issue Jun 1, 2020 · 0 comments · Fixed by #1781
Closed

ui5-button: aria-expanded not working for screen reader #1705

SherrySherry123 opened this issue Jun 1, 2020 · 0 comments · Fixed by #1781
Assignees

Comments

@SherrySherry123
Copy link

SherrySherry123 commented Jun 1, 2020

i am from Successfactors team, just find the aria-expanded attribute does not work for screen reader;

Describe the bug
ui5-button with aria-expanded=true/false is not read out by screen reader;

To reproduce
Steps to reproduce the behavior:

  1. set aria-expanded=true for ui5-button
    <ui5-button aria-expanded="true">Enabled</ui5-button>
    2.While using any screen reader (JAWS, NVDA), tab over the button that has aria-expanded=true
    3."expanded/collapsed" never be read out

Expected behavior
when aria-expanded=true, a screen reader will announce "Expanded"
when aria-expanded=false, a screen reader will announce "Collapsed"

https://sap.github.io/ui5-webcomponents/playground/components/Button/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants