{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-aria-allowed-attr-4b1a94c77b0d","title":"Ensure Valid ARIA Attributes for Accessibility","summary":"Validate that ARIA attributes are only used when they are supported by the element's assigned WAI-ARIA role. This ensures screen readers and assistive technologies correctly interpret the interface, improving accessibility for users with disabilities.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-aria-allowed-attr-4b1a94c77b0d","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-aria-allowed-attr-4b1a94c77b0d","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-aria-allowed-attr-4b1a94c77b0d.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-aria-allowed-attr-4b1a94c77b0d\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before running the validation, ensure that the HTML elements have the correct WAI-ARIA roles assigned. This is a prerequisite for accurate ARIA attribute checks.","instructions":"---\nname: aria-allowed-attr\ndescription: \"Use when reviewing rendered HTML, interactive components, or design-system patterns related to Use only allowed ARIA attributes for each role. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.\"\nmetadata:\n  category: accessibility\n  priority: medium\n  difficulty: intermediate\n  estimatedTime: \"10\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/accessibility\/aria-allowed-attr\n---\n\n# Use only allowed ARIA attributes for each role\n\nInvalid ARIA attributes are ignored by screen readers or may cause them to misinterpret the element's purpose, leading to a broken experience for users with disabilities.\n\n## Quick Reference\n\n- Each ARIA role only supports a specific set of ARIA attributes\n- Using unsupported attributes can confuse assistive technologies\n- Ensures the accessibility tree remains valid and meaningful\n\n## Check\n\nVerify that all ARIA attributes used on elements are valid for their assigned WAI-ARIA roles.\n\n## Fix\n\nRemove or correct ARIA attributes that are not supported by the element's current ARIA role.\n\n## Explain\n\nExplain why using only role-supported ARIA attributes is necessary for proper screen reader communication.\n\n## Code Review\n\nReview the rendered markup and interactive states that affect Use only allowed ARIA attributes for each role. 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-allowed-attr\n","use_cases":["Reviewing HTML elements for accessibility compliance","Auditing interactive components for proper ARIA usage","Testing design-system patterns for screen reader compatibility"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/aria-allowed-attr\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-23","created_at":"2026-11-22T15:06:42.000000Z","updated_at":"2026-11-23T04:54:44.000000Z","seo_title":"Validate ARIA Attributes for Accessibility","seo_description":"Ensure ARIA attributes are valid for their roles to improve accessibility. Use this checklist for HTML, interactive components, and design systems.","seo_keywords":["aria attributes validation","accessibility checklist","screen reader compatibility","html accessibility audit","interactive component review"]}}