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 and description to delete branch dialogs #17210

Merged
merged 1 commit into from Aug 11, 2023

Conversation

tidy-dev
Copy link
Contributor

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

Description

This PR adds the role of alertdialog to both the delete branch dialogs and the required ariaDescribedby to associate the confirmation message to the dialog.

Screenshots

CleanShot.2023-08-11.at.06.19.45.mp4

Release notes

Notes: [Improved] The delete branch dialog's contents are announced as alert dialogs.

Copy link
Member

@sergiou87 sergiou87 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 good and it works as expected! I only left some "food for thought" but I don't think there is need to change anything 🤔

@tidy-dev tidy-dev merged commit 84fd14f into development Aug 11, 2023
8 checks passed
@tidy-dev tidy-dev deleted the annnounce-delete-branch-dialogs branch August 11, 2023 10:44
@tidy-dev tidy-dev added the accessibility Issues related to accessibility improvements label Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Issues related to accessibility improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants