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

Use role=alertdialog for errors when trying to do operations with local changes #17519

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

sergiou87
Copy link
Member

Found in https://github.com/github/accessibility-audits/issues/5649#issuecomment-1751481852

Description

This PR just adds the role="alertdialog" attribute to the error Desktop displays when attempting certain operations (like reordering a commit) when there are local changes present.

Screenshots

CleanShot.2023-10-09.at.10.14.56.mp4

Release notes

Notes: [Fixed] Screen readers announce contents of error dialog when attempting to perform certain operations while local changes are present

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.

✨ Works great!

This is getting a jump on the error dialog audit! :) Mind merging this fix into #17459 and doing a new test release for the audit and just post a comment on the PR stating which release version is the latest. :)

@sergiou87 sergiou87 merged commit dd28e40 into development Oct 10, 2023
8 checks passed
@sergiou87 sergiou87 deleted the alertdialog-for-local-changes-error branch October 10, 2023 09:02
@shibz07500
Copy link

Ok

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

3 participants