{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-aria-valid-attr-3d29eae183a4","title":"Ensure ARIA attributes are valid","summary":"Verify and correct invalid ARIA attributes in HTML elements to ensure accessibility for users with disabilities. This skill identifies misspelled or non-existent aria-* properties and replaces them with valid ones as defined in the WAI-ARIA specification.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-aria-valid-attr-3d29eae183a4","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-aria-valid-attr-3d29eae183a4","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-aria-valid-attr-3d29eae183a4.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-aria-valid-attr-3d29eae183a4\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure that the HTML elements being reviewed are rendered in the browser, as this skill operates on the final output. Additionally, validate that screen readers are correctly interpreting the ARIA attributes after corrections.","instructions":"---\nname: aria-valid-attr\ndescription: \"Use when reviewing rendered HTML, interactive components, or design-system patterns related to Ensure ARIA attributes are valid. 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: beginner\n  estimatedTime: \"5\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/accessibility\/aria-valid-attr\n---\n\n# Ensure ARIA attributes are valid\n\nInvalid ARIA attributes are ignored by browsers and screen readers, potentially leaving users with disabilities unable to navigate or understand the interface.\n\n## Quick Reference\n\n- Use only valid, standard-defined ARIA attributes\n- Avoid misspelled or non-existent aria-* properties\n- Ensure screen readers correctly interpret element roles and states\n\n## Check\n\nIdentify any invalid or misspelled ARIA attributes on HTML elements.\n\n## Fix\n\nReplace invalid ARIA attributes with their correct names as defined in the WAI-ARIA specification.\n\n## Explain\n\nExplain how valid ARIA attributes enable assistive technologies to communicate element state and behavior to users.\n\n## Code Review\n\nReview the rendered markup and interactive states that affect Ensure ARIA attributes are valid. 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\/aria-valid-attr\n","use_cases":["Reviewing HTML elements for valid ARIA attributes during accessibility audits","Fixing invalid ARIA attributes in interactive components for screen reader compatibility","Verifying ARIA attributes in design systems to ensure accessibility compliance"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/aria-valid-attr\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-23","created_at":"2026-11-22T15:17:16.000000Z","updated_at":"2026-11-23T04:54:44.000000Z","seo_title":"Ensure ARIA attributes are valid for accessibility","seo_description":"Ensure ARIA attributes are valid to improve accessibility. Check for invalid or misspelled attributes and fix them for better user experience.","seo_keywords":["ARIA attributes validation","Accessibility audit checklist","Fix invalid ARIA attributes","Screen reader compatibility","HTML accessibility review"]}}