Install any skill in seconds. Free to start, no credit card required.
Get Started Free →thedaviddias/aria-valid-attr
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.
Passed 22 of 22 test cases with the skill, and 20 of 22 without it.
2 fixed20 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
This benchmark measured an earlier version of the skill.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
A custom widget contains `<div role="region" aria-role-desc="slide">`. What is the valid WAI-ARIA attribute for custom role descriptions?
| Checked | Without skill | With skill |
|---|---|---|
| Identifies 'aria-role-desc' as invalid | Missed | Passed |
| Replaces 'aria-role-desc' with 'aria-roledescription' | Passed | Passed |
The instructions your model reads when the skill loads.
Invalid ARIA attributes are ignored by browsers and screen readers, potentially leaving users with disabilities unable to navigate or understand the interface.
Identify any invalid or misspelled ARIA attributes on HTML elements.
Replace invalid ARIA attributes with their correct names as defined in the WAI-ARIA specification.
Explain how valid ARIA attributes enable assistive technologies to communicate element state and behavior to users.
Review 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.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/accessibility/aria-valid-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.