Skip to content

Technique ARIA14: Replacing “invisible label” with “accessible name” #4482

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

yatil
Copy link
Contributor

@yatil yatil commented Jul 3, 2025

Trying to be clear that aria-label sets the accessible name, also clarified some text. This technique could probably do with more examples of screen reader and voice input interactions, I’m not sure if readers understand what the impact really is and why it is important.

I also modernised the language from “lightbox” to dialog, but I left the example mostly as is for now. It would be good to update it to a proper <dialog> example.

My apologies for automatically re-indenting the file, but it is so difficult to work with these files otherwise.

yatil added 3 commits July 3, 2025 11:09
Sorry that this will make the actual PR more difficult to read, but it’s necessary to be able to efficiently make changes for me.
Trying to be clear that aria-label sets the accessible name, also clarified some text. This technique could probably do with more examples of screen reader and voice input interactions, I’m not sure if readers understand what the impact really is and why it is important.
@w3cbot
Copy link

w3cbot commented Jul 3, 2025

yatil marked as non substantive for IPR from ash-nazg.

Copy link

netlify bot commented Jul 3, 2025

Deploy Preview for wcag2 ready!

Name Link
🔨 Latest commit e1df541
🔍 Latest deploy log https://app.netlify.com/projects/wcag2/deploys/68664ed1335ec80007dea8bf
😎 Deploy Preview https://deploy-preview-4482--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.

Copy link

netlify bot commented Jul 3, 2025

Deploy Preview for wcag2 ready!

Name Link
🔨 Latest commit f9ecb0e
🔍 Latest deploy log https://app.netlify.com/projects/wcag2/deploys/6867aaf587cc450009259269
😎 Deploy Preview https://deploy-preview-4482--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.

Copy link
Member

@patrickhlauke patrickhlauke left a comment

Choose a reason for hiding this comment

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

once the working example is modified as well, this looks good to me

Preview: https://deploy-preview-4482--wcag2.netlify.app/techniques/aria/aria14

patrickhlauke and others added 4 commits July 3, 2025 23:18
Working example is now using an html dialog and also some more styling, just to be fancy. I also synced the example back to the technique.
#Conflicts:
#	techniques/aria/ARIA14.html
@yatil yatil requested a review from patrickhlauke July 4, 2025 10:15
Copy link
Member

@hidde hidde left a comment

Choose a reason for hiding this comment

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

Looks great to me!

@patrickhlauke patrickhlauke self-assigned this Jul 4, 2025
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.

4 participants