Install any skill in seconds. Free to start, no credit card required.
Get Started Free →thedaviddias/modal-accessibility
Use when reviewing rendered HTML, interactive components, or design-system patterns related to Make modal dialogs keyboard accessible. 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 21 of 22 without it.
1 fixed21 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
We are building a custom overlay pop-up for confirming user account deletion in HTML/JS. A team member suggested setting `<div class="modal" aria-hidden="false">` without any specific ARIA role or accessibility flags. Provide the HTML markup for the modal container element that follows WAI-ARIA standards for interactive modal dialogs.
| Checked | Without skill | With skill |
|---|---|---|
| The modal container uses role='dialog'. | Missed | Passed |
| The modal container sets aria-modal='true'. | Passed | Passed |
The instructions your model reads when the skill loads.
Without proper focus trapping and keyboard handling, modal dialogs are invisible traps for keyboard users—they can't navigate, can't escape, and can't complete tasks.
Verify modals have proper ARIA roles, focus trapping, keyboard dismissal (Escape), and return focus on close.
Implement accessible modals using role='dialog', aria-modal='true', focus trapping, and proper keyboard handling.
Explain the accessibility requirements for modal dialogs including focus management, ARIA attributes, and keyboard interaction.
Review the rendered markup and interactive states that affect Make modal dialogs keyboard accessible. 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/modal-accessibility
test cases passed, vs 21 / 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.