Install any skill in seconds. Free to start, no credit card required.
Get Started Free →thedaviddias/aria-required-attr
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.
Passed 21 of 22 test cases with the skill, and 20 of 22 without it.
1 fixed20 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
This benchmark measured an earlier version of the skill.
A test case the skill fixed. Same model, same prompt, with and without the skill.
I am building a custom volume control element using `<div role="slider" tabindex="0" aria-label="Volume level"></div>`. A junior developer claims that because `aria-label` is present and JavaScript updates visual CSS width, no additional ARIA attributes are required by the WAI-ARIA specification. Perform a code review of this markup. State whether any mandatory attribute is missing for `role="slider"` and specify which attribute must convey the current numeric value.
| Checked | Without skill | With skill |
|---|---|---|
| Identify aria-valuenow as a required attribute for role='slider' | Passed | Passed |
| Explain that aria-label alone does not communicate the current numeric value | Missed | Passed |
The instructions your model reads when the skill loads.
Certain ARIA roles are incomplete without their required attributes, preventing assistive technologies from correctly communicating the element's state or value.
aria-valuenow for sliders are presentVerify that all ARIA roles have their mandatory attributes as defined by the WAI-ARIA specification.
Add the missing required ARIA attributes to elements with specific roles (e.g., aria-valuenow for role="slider").
Explain how required ARIA attributes provide critical state information that screen readers need to function correctly.
Review 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.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/accessibility/aria-required-attr
test cases passed, vs 20 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.