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

Screen Reader Available Email label fields associated misattributed commits emails #16240

Merged

Conversation

tidy-dev
Copy link
Contributor

@tidy-dev tidy-dev commented Mar 2, 2023

Closes https://github.com/github/accessibility-audits/issues/3280

Description

This PR adds an aria-label to the other email input box in the Git preferences/options. This adds a "Email" label to the select input of the misattribute popover.

Screenshots

macOS

CleanShot.2023-03-02.at.12.19.12.mp4

Windows:

CleanShot.2023-03-06.at.07.22.03-trimmed.mp4

Release notes

Notes: [Improved] Other email input in "Git" preferences/Options and misattributed popover email select have a screen readable label.

@@ -38,6 +38,7 @@
height: 10px;
// With width=100%, the icon will be centered horizontally
width: 100%;
vertical-align: unset;
Copy link
Contributor Author

@tidy-dev tidy-dev Mar 6, 2023

Choose a reason for hiding this comment

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

Added this after taking windows screencast and seeing the warning icon out of place.

Before
CleanShot 2023-03-06 at 07 29 08

After:
CleanShot 2023-03-06 at 07 29 30

@tidy-dev tidy-dev marked this pull request as ready for review March 6, 2023 12:29
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 makes sense and works as expected! I'm surprised about the icon on Windows, I wonder if that broke on a recent (or not-so-recent) change 🤔

@tidy-dev
Copy link
Contributor Author

tidy-dev commented Mar 6, 2023

I wonder if that broke on a recent (or not-so-recent) change 🤔

I am guessing it was on my recent PR that made the avatar a button when misattributed commit warning is present since it was .button-component css that was causing the problem.... but I thought I tested that on both windows and mac.. I must not have caught the regression then.

@tidy-dev tidy-dev merged commit 3fd57db into development Mar 6, 2023
@tidy-dev tidy-dev deleted the label-email-fields-associated-misattributed-commits branch March 6, 2023 12:48
Copy link

@Kiaramary099 Kiaramary099 left a comment

Choose a reason for hiding this comment

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

#![Uploading windows-11-itunes-for-windows-account-view-account-manage-payments-add-payment-method.png…]()

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.

3 participants