Skip to content

fix: aria labels#6762

Closed
kewitham wants to merge 1 commit intodecaporg:mainfrom
kewitham:aria-labels
Closed

fix: aria labels#6762
kewitham wants to merge 1 commit intodecaporg:mainfrom
kewitham:aria-labels

Conversation

@kewitham
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown

@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.

`}
>
<button
aria-label={'set '.concat(fieldName).concat(' to now')}
Copy link
Copy Markdown

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

@yanthomasdev yanthomasdev mentioned this pull request Feb 9, 2026
1 task
@yanthomasdev
Copy link
Copy Markdown
Contributor

Thanks @kewitham, these are certainly valuable improvements. Given the state of the PR being so old and the repository changing a lot, I am actually unable to fix the conflicts without git crashing for me 😓, I have remade your changes in a new PR and credited you as an author, I hope that's OK!

Due to that, I'll be closing this one.

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.

3 participants