Skip to content

docs: mention useId for aria-labelledby#3394

Open
popsiclelmlm wants to merge 1 commit into
vuejs:mainfrom
popsiclelmlm:docs/use-id-for-aria-labelledby
Open

docs: mention useId for aria-labelledby#3394
popsiclelmlm wants to merge 1 commit into
vuejs:mainfrom
popsiclelmlm:docs/use-id-for-aria-labelledby

Conversation

@popsiclelmlm
Copy link
Copy Markdown

Description

Updates the accessibility guide to recommend useId() when aria-labelledby IDs are used inside reusable components. The existing static examples now reference label element IDs directly, and a component example shows stable per-instance IDs for aria-labelledby.

Fixes #1510.

Validation

  • git diff --check

@netlify
Copy link
Copy Markdown

netlify Bot commented May 15, 2026

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit 3dcc13d
🔍 Latest deploy log https://app.netlify.com/projects/vuejs/deploys/6a0770df9509f0000928a052
😎 Deploy Preview https://deploy-preview-3394--vuejs.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.

aria-labelledby example with id and components

1 participant