{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-duplicate-id-aria-13261a60f7a4","title":"Ensure Unique IDs for ARIA References","summary":"Ensure that IDs referenced by ARIA attributes are unique to prevent assistive technologies from misreading labels or descriptions.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-duplicate-id-aria-13261a60f7a4","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-duplicate-id-aria-13261a60f7a4","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-duplicate-id-aria-13261a60f7a4.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-duplicate-id-aria-13261a60f7a4\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before reviewing HTML for accessibility compliance, ensure that the document is fully rendered and interactive components are in their expected states. Use browser accessibility tools or screen readers to verify the fix.","instructions":"---\nname: duplicate-id-aria\ndescription: \"Use when reviewing rendered HTML, interactive components, or design-system patterns related to Use unique IDs for ARIA references. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.\"\nmetadata:\n  category: accessibility\n  priority: high\n  difficulty: intermediate\n  estimatedTime: \"10\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/accessibility\/duplicate-id-aria\n---\n\n# Use unique IDs for ARIA references\n\nWhen ARIA attributes point to duplicate IDs, assistive technologies may read the wrong label or description, providing misleading information to the user.\n\n## Quick Reference\n\n- Ensure IDs referenced by ARIA attributes (e.g., aria-labelledby) are unique\n- Avoid duplicate IDs that lead to ambiguous accessibility relationships\n- Verify that ARIA controls correctly target their intended elements\n\n## Check\n\nIdentify elements where an ARIA attribute references an id that appears multiple times in the DOM.\n\n## Fix\n\nEnsure all elements referenced by ARIA attributes have unique IDs and update the references accordingly.\n\n## Explain\n\nExplain how unique IDs are essential for establishing reliable relationships between ARIA attributes and their targets.\n\n## Code Review\n\nReview the rendered markup and interactive states that affect Use unique IDs for ARIA references. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/accessibility\/duplicate-id-aria\n","use_cases":["Reviewing HTML for accessibility compliance","Testing interactive components with screen readers","Auditing design-system patterns for accessibility"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/duplicate-id-aria\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-23","created_at":"2026-11-22T15:57:42.000000Z","updated_at":"2026-11-23T04:55:08.000000Z","seo_title":"Ensure Unique IDs for ARIA References","seo_description":"Fix duplicate IDs in ARIA attributes to ensure assistive technologies read the correct labels and descriptions.","seo_keywords":["aria unique ids","accessibility duplicate ids","screen reader labels","ARIA reference validation"]}}