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

[html-aam PR 533] Clarify hidden elements do not return name #2214

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

Conversation

pkra
Copy link
Member

@pkra pkra commented May 23, 2024

Moved from w3c/html-aam#533

scottaohara and others added 3 commits February 26, 2024 15:08
closes #370

Adds comments to label, legend and caption elements to indicate that if they are hidden, then they will not return a name for their associated elements.

Note that right now this means that 
```
<label for=d hidden>foo</label>
<input id=d title=bar>
```
has _no name_.  The label is still referenced, but because it is hidden it returns an empty name in Safari and Chromium browsers.  Firefox correctly returns "bar" as the name of the input.
@pkra pkra changed the base branch from monorepo_history--html-aam to main June 12, 2024 19:30
@pkra pkra changed the title [Monorepo] [html-aam PR 533] Clarify hidden elements do not return name [html-aam PR 533] Clarify hidden elements do not return name Jun 12, 2024
html-aam/index.html Outdated Show resolved Hide resolved
Copy link

netlify bot commented Jul 1, 2024

Deploy Preview for wai-aria ready!

Name Link
🔨 Latest commit 24b895b
🔍 Latest deploy log https://app.netlify.com/sites/wai-aria/deploys/66830cd41dc1d20008eb0cfc
😎 Deploy Preview https://deploy-preview-2214--wai-aria.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 site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants