Skip to content

Conversation

@patrickhlauke
Copy link
Member

@patrickhlauke patrickhlauke commented Dec 28, 2025

While the understanding document https://www.w3.org/WAI/WCAG22/Understanding/label-in-name.html does mention that capitalization "may" be irrelevant, the advice buries the lede. This makes it a lot more obvious and explicit, while also mentioning that as best practice capitalization/matching accName and visible label may be meaningful for SR users.

In addition, one aspect that always felt strange and out of place in the understanding was the use of inline "live" examples.

screenshot of the understanding document, showing the inline live examples circled

They look amateurish, and the first two don't actually "work" - the accessible names of the controls match exactly what the visible labels are. Replaced these with figures AND code samples that do actually show a divergence between label and accName in terms of punctuation/capitalization.

Lastly, this PR fixes some awkwardness in the prose for the mathematical section.

Closes #3812

Preview: https://deploy-preview-4836--wcag2.netlify.app/understanding/label-in-name

@patrickhlauke patrickhlauke self-assigned this Dec 28, 2025
@netlify
Copy link

netlify bot commented Dec 28, 2025

Deploy Preview for wcag2 ready!

Name Link
🔨 Latest commit 14c6479
🔍 Latest deploy log https://app.netlify.com/projects/wcag2/deploys/6951658c4e7a9300083362bb
😎 Deploy Preview https://deploy-preview-4836--wcag2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.5.3 Label in Name - case insensitve?

3 participants