Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Checks HTML for focusable descendants inside role="text" elements, then recommends removing the role or moving interactive children out.
86% 91%+5 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 19 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Using role="text" on a container forces screen readers to treat everything inside as a single string of text, which effectively hides any interactive elements from users who rely on assistive technology.
role="text" should not contain interactive children (links, buttons)role="text" only contains static text contentIdentify elements with role="text" and verify they do not contain any focusable elements like buttons, links, or inputs.
Remove role="text" from containers that have interactive children or move the interactive elements outside.
Explain how role="text" overrides the semantics of descendant elements, making interactive components inaccessible to screen reader users.
Review the rendered markup and interactive states that affect Avoid focusable descendants in role="text" elements. 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-text
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.