{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-aria-required-attr-7f46ace5af2d","title":"Ensure Required ARIA Attributes for Roles","summary":"Verify that ARIA roles have their required attributes as defined by the WAI-ARIA specification, ensuring accessibility for assistive technologies. This includes checking for attributes like `aria-valuenow` on sliders and ensuring all mandatory attributes are present.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-aria-required-attr-7f46ace5af2d","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-aria-required-attr-7f46ace5af2d","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-aria-required-attr-7f46ace5af2d.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-aria-required-attr-7f46ace5af2d\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"Before applying this skill, ensure that native HTML semantics are checked first. If native semantics are not sufficient, inspect keyboard behavior, focus flow, accessible names, and screen-reader output.","instructions":"---\nname: aria-required-attr\ndescription: \"Use when reviewing rendered HTML, interactive components, or design-system patterns related to Include required ARIA attributes for roles. 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-required-attr\n---\n\n# Include required ARIA attributes for roles\n\nCertain ARIA roles are incomplete without their required attributes, preventing assistive technologies from correctly communicating the element's state or value.\n\n## Quick Reference\n\n- Identify roles that require specific state or property attributes\n- Ensure attributes like `aria-valuenow` for sliders are present\n- Validate that all required ARIA attributes are correctly implemented\n\n## Check\n\nVerify that all ARIA roles have their mandatory attributes as defined by the WAI-ARIA specification.\n\n## Fix\n\nAdd the missing required ARIA attributes to elements with specific roles (e.g., aria-valuenow for role=\"slider\").\n\n## Explain\n\nExplain how required ARIA attributes provide critical state information that screen readers need to function correctly.\n\n## Code Review\n\nReview the rendered markup and interactive states that affect Include required ARIA attributes for roles. 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-required-attr\n","use_cases":["Reviewing HTML elements for accessibility compliance","Validating ARIA roles in interactive components","Testing screen-reader compatibility for design-system patterns"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/aria-required-attr\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-23","created_at":"2026-11-22T15:12:18.000000Z","updated_at":"2026-11-23T04:54:44.000000Z","seo_title":"Ensure Required ARIA Attributes for Roles","seo_description":"Ensure ARIA roles are implemented with required attributes for better accessibility. Check and fix missing attributes in HTML elements.","seo_keywords":["aria required attributes","accessibility check","aria roles validation","screen reader compatibility","html accessibility review"]}}