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

Make input marker in debug console a <label> #49550

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

bencodeorg
Copy link
Contributor

Makes the ">" marking input in Applab/Gamelab's debug console a label for the input, which makes it auto-focus when clicked (this was the goal of a pre-existing onclick). Add an aria-label to the input itself, since the ">" label isn't helpful from a screenreader perspective.

Debug console in Applab (UI unaffected by this change)

image

Links

https://codedotorg.atlassian.net/browse/A11Y-164

Testing story

Tested clicking on ">" focuses input, and using a screen reader resulted in reading the aria label when visited via tab navigation.

@bencodeorg bencodeorg requested a review from a team December 15, 2022 20:23
Copy link
Contributor

@hannahbergam hannahbergam left a comment

Choose a reason for hiding this comment

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

Heck yeah! Thank you!

@bencodeorg bencodeorg changed the title Make input marker in debug console label Make input marker in debug console a <label> Dec 15, 2022
@bencodeorg bencodeorg merged commit 1a2ce48 into staging Dec 16, 2022
@bencodeorg bencodeorg deleted the ben/debug-console-remove-functional-span branch December 16, 2022 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants