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

fix (ui5-avatar, ui5-icon): attach onclick handler based on interactive property #3742

Merged
merged 1 commit into from
Sep 9, 2021

Conversation

dobrinyonkov
Copy link
Contributor

Having the onclick handler attached, makes the screen readers read the element as clickable even if interactive is set to false.
With this change the click handler is only attached if the interactive property is true.

Fixes: #3683

@fifoosid fifoosid merged commit cbdae54 into SAP:master Sep 9, 2021
fifoosid pushed a commit that referenced this pull request Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SF] [A11y] [ui5-avatar] Avatar is announced as "clickable graphic" even when not interactive
3 participants