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

fix: aria labels #6762

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix: aria labels #6762

wants to merge 1 commit into from

Conversation

kewitham
Copy link
Contributor

@kewitham kewitham commented May 5, 2023

Summary

Our team at ada.gov uses Netlify CMS. Recently Terri Youngblood, the accessibility consultant for the DOJ Civil Rights Section, did an audit of Netlify to verify its accessibility and identified some issues. This PR addresses those concerns - specifically aria-label updates.
image
image
image
image

Test plan

Verify that the buttons indicated now have labels that can be read by a screenreader.

Checklist

Please add a x inside each checkbox:

A picture of a cute animal (not mandatory but encouraged)
image

add aria labels to improve accessibility
@netlify
Copy link

netlify bot commented May 5, 2023

Deploy Preview for decap-www canceled.

Name Link
🔨 Latest commit 4f3b25f
🔍 Latest deploy log https://app.netlify.com/sites/decap-www/deploys/64556da3dc8ed90008724c66

Copy link

@xaiki xaiki left a comment

Choose a reason for hiding this comment

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

my 2c review
note: i'm not part of the decap team.

@@ -19,6 +19,7 @@ function NowButton({ t, handleChange }) {
`}
>
<button
aria-label={'set '.concat(fieldName).concat(' to now')}
Copy link

Choose a reason for hiding this comment

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

`set ${fieldName} to now`

is probably more readable

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.

None yet

2 participants