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

[IA-5073] Fix a11y issue with clicking on a non-focusable element. #5115

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

cahrens
Copy link
Contributor

@cahrens cahrens commented Sep 27, 2024

Jira Ticket: https://broadworkbench.atlassian.net/browse/IA-5073

I noticed this while working on the Puppeteer upgrade, as the newer version of Puppeteer did not want to click on a non-focusable element.

Adding a click handler to a div with no aria roles defined to indicate that the element is interactive is a major problem. Such an element is not keyboard focusable (cannot be reached via tab navigation), and thus is not accessible to people who cannot use a mouse.

Before (not focusable):

image

After (showing my browser keyboard-focus indication):

image

@cahrens cahrens changed the title [WIP] Fix a11y issue with clicking on a non-focusable element. [IA-5073] Fix a11y issue with clicking on a non-focusable element. Sep 27, 2024
@cahrens cahrens marked this pull request as ready for review September 27, 2024 15:34
@cahrens cahrens requested a review from a team as a code owner September 27, 2024 15:34
Copy link

sonarcloud bot commented Sep 27, 2024

@cahrens cahrens added this pull request to the merge queue Sep 27, 2024
Merged via the queue into dev with commit bce8cd7 Sep 27, 2024
10 checks passed
@cahrens cahrens deleted the ia-a11y-issue branch September 27, 2024 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants