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 a label to the Javalab file explorer button #49471

Merged
merged 2 commits into from
Dec 14, 2022
Merged

Add a label to the Javalab file explorer button #49471

merged 2 commits into from
Dec 14, 2022

Conversation

rshipp
Copy link
Contributor

@rshipp rshipp commented Dec 13, 2022

Add a label to the file explorer button in Javalab. I used what looked like the simplest approach in this article on accessible icon buttons, and a label text that matches the component name. Let me know if you think I should change any of that!

image

Links

@rshipp rshipp requested a review from a team December 13, 2022 18:27
@@ -64,6 +64,7 @@ class JavalabFileExplorer extends Component {
return (
<div style={styles.main}>
<button
aria-label="File explorer"
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: this string should be translatable

@rshipp rshipp requested a review from a team as a code owner December 13, 2022 20:30
@rshipp rshipp merged commit 89d1fd0 into staging Dec 14, 2022
@rshipp rshipp deleted the a11y-12 branch December 14, 2022 20:04
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