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 description for changes list header checkbox #16457

Merged

Conversation

tidy-dev
Copy link
Contributor

@tidy-dev tidy-dev commented Apr 5, 2023

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

Description

Adds the tooltip description of the changed file list header/checkbox as an aria-describe by of the check all box so that it is also screen reader announced. Additionally changed the wording to "included" to match the words used in #16420 to try to better communicate that it is talking about how many files are going to be included in the commit.

Screenshots

CleanShot.2023-04-05.at.09.02.29.mp4

Release notes

Notes: [Improved] Changes list header checkbox tooltip description is announced by screen readers.

niik
niik previously approved these changes Apr 5, 2023
Copy link
Member

@niik niik left a comment

Choose a reason for hiding this comment

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

I'll approve but if you'd like to apply those casing changes I can re-approve quickly

app/src/ui/lib/checkbox.tsx Outdated Show resolved Hide resolved
app/src/ui/lib/checkbox.tsx Outdated Show resolved Hide resolved
Co-authored-by: Markus Olsson <j.markus.olsson@gmail.com>
Co-authored-by: Markus Olsson <j.markus.olsson@gmail.com>
niik
niik previously approved these changes Apr 5, 2023
@tidy-dev tidy-dev enabled auto-merge April 5, 2023 13:44
@tidy-dev tidy-dev merged commit 84177dd into development Apr 5, 2023
@tidy-dev tidy-dev deleted the add-description-for-changes-list-header-checkbox branch April 5, 2023 14:32
This pull request was closed.
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.

2 participants