Accessibility
Accessibility for users with disabilities
Accessibility for users with disabilities
Rules
Checks that accesskey values are unique
Checks that ARIA attributes are allowed on their elements
Checks that command elements have accessible names
Checks that dialog elements have accessible names
Ensures document body is not set to aria-hidden
Ensures aria-hidden elements do not contain focusable content
Checks that input fields have accessible names
Checks that interactive elements have accessible names
Checks that meter elements have accessible names
Checks that progressbar elements have accessible names
Checks that elements have required ARIA attributes for their roles
Checks that elements with certain roles have required child roles
Checks that elements with certain roles have required parent roles
Checks that elements with role=‘text’ have no focusable descendants
Checks that toggle fields (checkbox, radio, switch) have accessible names
Checks that tooltip elements have accessible names
Checks that treeitem elements have accessible names
Checks for valid values in ARIA attributes
Checks for valid ARIA attribute names
Checks for valid ARIA role values
Checks that all buttons have accessible names
Checks for color contrast issues in styles and classes
Checks that dt and dd elements are inside a dl
Checks that definition lists contain only dt and dd elements
Checks for deprecated or abstract ARIA roles
Checks that active, focusable elements have unique IDs
Checks that IDs used in ARIA attributes are unique
Checks that heading elements have visible content
Checks for focus indicator styles
Checks that form inputs have associated labels
Checks that iframes and frames have title attributes
Checks that heading levels don’t skip
Checks that the html lang attribute has a valid language code
Checks that lang and xml:lang attributes match on html element
Checks that links with identical text go to the same destination
Checks that input type=‘image’ elements have alt text
Checks that visible label text is part of accessible name
Checks for proper landmark regions (main, nav, footer)
Checks that links in text blocks are visually distinguishable
Checks for descriptive link text
Checks that li elements are inside ul, ol, or menu
Checks that ul and ol elements contain only li elements
Checks for meta refresh redirects that can disorient users
Checks that form fields don’t have multiple labels
Checks that object elements have alternative content
Checks that the page has exactly one main landmark
Detects form inputs that prevent pasting
Checks that image alt text is not redundant with surrounding text
Checks that select elements have accessible names
Checks for bypass mechanisms for keyboard navigation
Checks for appropriate tabindex values
Checks that td headers attribute references valid th ids
Checks that data tables have unique accessible names
Checks that data tables have proper headers
Checks that table headers have associated data cells
Checks for minimum touch target sizing hints
Checks that all lang attributes on the page have valid values
Checks that videos have captions or transcripts
Checks if viewport meta tag disables user zoom
Disable All Accessibility Rules
[rules]
disable = ["a11y/*"]