Skip to content

Use label attribute for remote url input in repository settings#19647

Merged
tidy-dev merged 1 commit intodevelopmentfrom
fix-remote-a11y-label
Dec 5, 2024
Merged

Use label attribute for remote url input in repository settings#19647
tidy-dev merged 1 commit intodevelopmentfrom
fix-remote-a11y-label

Conversation

@tidy-dev
Copy link
Contributor

@tidy-dev tidy-dev commented Dec 2, 2024

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

Description

This makes use of the label attribute on the text box so the visual label is properly associated to the input for screenreaders. I also made it follow our other labeling conventions for mac/windows.

Screenshots

CleanShot.2024-12-02.at.11.37.06.mp4

Release notes

Notes: [Fixed] The visual label for the remote url in the repository settings is announced by screen readers.

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.

@tidy-dev tidy-dev merged commit 454178e into development Dec 5, 2024
@tidy-dev tidy-dev deleted the fix-remote-a11y-label branch December 5, 2024 13:54
@tidy-dev tidy-dev added the accessibility Issues related to accessibility improvements label May 1, 2025
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.

2 participants