Modal Role
Use role='dialog' aria-modal='true' (or native <dialog>), never role='modal'.
An invalid role attribute (such as role='popup' or role='dropdown') is ignored by assistive technologies. Validate every role attribute in your markup.
Your files and content are processed locally in your browser. We do not upload your files to our servers.
Valid widget roles like dialog, tablist, tab, tabpanel, and combobox require corresponding keyboard handlers and state attributes (aria-selected, aria-expanded).
Parses [role] elements and validates tokens against WAI-ARIA 1.2 non-abstract roles.
Use role='dialog' aria-modal='true' (or native <dialog>), never role='modal'.
Validate aria-* spelling, WAI-ARIA 1.2 compliance, and broken ID references.
Generate accessible <dialog> / ARIA modals with Escape key and focus return.
Verify aria-label, aria-labelledby references, and WCAG 2.5.3 Label in Name.
Test polite vs. assertive ARIA live regions, role='status', and role='alert' live.
Inspect computed accessible names and exact naming precedence for every control.
Detect positive tabindex (> 0) values and improper tabindex usage in HTML.