Skip to content

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.

2 participants