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

Add alertdialog role to the abort multi-commit operation confirmation dialog #17478

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

sergiou87
Copy link
Member

xref. https://github.com/github/accessibility-audits/issues/5649

Description

This PR adds the role="alertdialog" attribute to the confirmation dialog of aborting multi-commit operations, so that screen readers announce the dialog's content.

Screenshots

CleanShot.2023-10-03.at.11.11.21.mp4

Release notes

Notes: [Fixed] Screen readers announce contents of abort multi-commit operation confirmation dialogs

Copy link
Contributor

@tidy-dev tidy-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✨ Code looks great!

Seems on macOS VoiceOver I am getting repetitive readings, but as mentioned in slack, I believe this is a macOS or chromium issue and not relative to this PR. :)

@sergiou87 sergiou87 merged commit 7fb2ea4 into development Oct 3, 2023
8 checks passed
@sergiou87 sergiou87 deleted the abort-rebase-alertdialog branch October 3, 2023 14:29
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.

None yet

2 participants