Accessibility audit rules
Sonjoo groups 46 checks under Accessibility (a11y). Select this category with sonjoo audit <url> --categories a11y, or pass the category ID in an HTTP audit request.
This category has weight 7 in the overall audit score when it has scored results. Sonjoo normalizes category weights over the categories with scored results.
All audit categories · Rule settings and interpretation
a11y-aria-labels
Section titled “a11y-aria-labels”Report interactive elements without an accessible name.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 10 when measured.
a11y-color-contrast
Section titled “a11y-color-contrast”Find inadequate foreground/background contrast using the existing Chromium accessibility collector.
Inputs. Chromium and axe for computed contrast; inline hints alone cannot certify compliance.
Evidence. axe rule ID, count and affected element.
Base scoring weight 8 when measured.
a11y-focus-visible
Section titled “a11y-focus-visible”Flag styles that remove focus indicators without an evident replacement.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 8 when measured.
a11y-form-labels
Section titled “a11y-form-labels”Require labels for form controls; placeholder text alone is insufficient.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 10 when measured.
a11y-heading-order
Section titled “a11y-heading-order”Report increasing heading levels that skip levels.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 8 when measured.
a11y-landmark-regions
Section titled “a11y-landmark-regions”Report missing site-level landmarks as a structural hint.
Inputs. HTML must be available.
Evidence. Counted roles and missing landmark identifiers.
Base scoring weight 6 when measured.
a11y-link-text
Section titled “a11y-link-text”Report generic or empty link labels and labels shared by different links.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 8 when measured.
a11y-skip-link
Section titled “a11y-skip-link”Look for a recognizable keyboard bypass link that resolves to a present in-document target when the source contains site navigation or a large header.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 6 when measured.
a11y-table-headers
Section titled “a11y-table-headers”Check for header cells in data tables while excluding declared layout tables.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 6 when measured.
a11y-touch-targets
Section titled “a11y-touch-targets”Flag small, inadequately spaced targets with axe, and risk signals from literal CSS without rendering.
Inputs. HTML must be available.
Evidence. axe violation or static element and dimensions.
Base scoring weight 6 when measured.
a11y-video-captions
Section titled “a11y-video-captions”Inventory caption or transcript cues for native media and common embedded players. Chapter and metadata tracks do not supply a captions cue.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 8 when measured.
a11y-zoom-disabled
Section titled “a11y-zoom-disabled”Find viewport declarations that explicitly disable zoom or limit maximum scale below two.
Inputs. HTML must be available.
Evidence. Matched restrictive directive.
Base scoring weight 10 when measured.
a11y-iframe-title
Section titled “a11y-iframe-title”Checks that visible frames and iframes have a title or accessible name.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 5 when measured.
a11y-object-alt
Section titled “a11y-object-alt”Checks that visible object elements have a title, accessible name or readable fallback content.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 3 when measured.
a11y-empty-heading
Section titled “a11y-empty-heading”Report a heading with neither meaningful text nor an accessible label.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 5 when measured.
a11y-input-image-alt
Section titled “a11y-input-image-alt”Checks that visible image submit controls have alternative text, a title or an accessible name.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 4 when measured.
a11y-main-landmark
Section titled “a11y-main-landmark”Count visible source main landmark declarations, excluding hidden, inert, and aria-hidden subtrees, and report missing or repeated main roles.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 5 when measured.
a11y-list-structure
Section titled “a11y-list-structure”Detect children that cannot belong to list containers and orphaned list items.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 4 when measured.
a11y-duplicate-id
Section titled “a11y-duplicate-id”Warn for duplicate document IDs; fail when accessibility references become ambiguous.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 4 when measured.
a11y-tabindex-positive
Section titled “a11y-tabindex-positive”Warn when a positive tabindex alters the document’s sequential order.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 3 when measured.
a11y-accesskey-unique
Section titled “a11y-accesskey-unique”Warn for repeated keyboard access-key hints.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 2 when measured.
a11y-form-multiple-labels
Section titled “a11y-form-multiple-labels”Report multiple explicit labels for a single native labelable control as an editorial review signal.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 3 when measured.
a11y-aria-valid
Section titled “a11y-aria-valid”Report unrecognized WAI-ARIA roles, unrecognized property names and invalid values in the checked Boolean property subset.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 5 when measured.
a11y-aria-hidden-focusable
Section titled “a11y-aria-hidden-focusable”Detect focusable controls inside a subtree omitted from assistive technology.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 4 when measured.
a11y-svg-img-alt
Section titled “a11y-svg-img-alt”Checks that visible SVG elements with an image or graphics role have a direct SVG title or an accessible name.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 3 when measured.
a11y-presentation-role-conflict
Section titled “a11y-presentation-role-conflict”Report presentational roles that have conflicting focusability or ARIA naming.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 3 when measured.
a11y-valid-lang-element
Section titled “a11y-valid-lang-element”Warn for invalid language metadata on descendant elements.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 2 when measured.
a11y-redundant-alt
Section titled “a11y-redundant-alt”Find image alternative text that repeats visible link or figure text.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 3 when measured.
a11y-table-caption
Section titled “a11y-table-caption”Check data tables for a caption that identifies their contents.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 3 when measured.
a11y-identical-links-purpose
Section titled “a11y-identical-links-purpose”Report same link label mapped to different destinations.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 4 when measured.
a11y-label-name-mismatch
Section titled “a11y-label-name-mismatch”Find visible control labels omitted from their explicit accessible names.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 3 when measured.
a11y-button-name
Section titled “a11y-button-name”Report a button with no discernible name.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 6 when measured.
a11y-autocomplete
Section titled “a11y-autocomplete”Identify email or phone fields lacking an input-purpose autocomplete token.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 3 when measured.
a11y-xml-lang-mismatch
Section titled “a11y-xml-lang-mismatch”Report inconsistent HTML and XML language declarations.
Inputs. HTML must be available.
Evidence. Values of both language attributes.
Base scoring weight 3 when measured.
a11y-aria-hidden-body
Section titled “a11y-aria-hidden-body”Fail when document or body root is flagged aria-hidden.
Inputs. HTML must be available.
Evidence. Document roots carrying the attribute.
Base scoring weight 8 when measured.
a11y-aria-required
Section titled “a11y-aria-required”Check for required parent or child roles on specific explicit ARIA widget roles.
Inputs. HTML must be available.
Evidence. Element names, counts or matched conditions in the finding.
Base scoring weight 4 when measured.
a11y-axe-names
Section titled “a11y-axe-names”Report findings from the mapped axe-core names group, including the observable aria-dialog-name signal.
Inputs. The pinned bundled axe probe evaluated the rendered document and returned violation and manual-review groups.
Evidence. Report the bundled collector version, each relevant axe ID, impact and affected nodes or explicit collection/review reason.
Advisory. Excluded from scoring. Requires Chromium rendering. Has configurable thresholds or options.
a11y-axe-landmarks
Section titled “a11y-axe-landmarks”Report findings from the mapped axe-core landmarks group, including the observable landmark-no-duplicate-main signal.
Inputs. The pinned bundled axe probe evaluated the rendered document and returned violation and manual-review groups.
Evidence. Report the bundled collector version, each relevant axe ID, impact and affected nodes or explicit collection/review reason.
Advisory. Excluded from scoring. Requires Chromium rendering. Has configurable thresholds or options.
a11y-axe-keyboard
Section titled “a11y-axe-keyboard”Report findings from the mapped axe-core keyboard group, including the observable nested-interactive signal.
Inputs. The pinned bundled axe probe evaluated the rendered document and returned violation and manual-review groups.
Evidence. Report the bundled collector version, each relevant axe ID, impact and affected nodes or explicit collection/review reason.
Advisory. Excluded from scoring. Requires Chromium rendering. Has configurable thresholds or options.
a11y-axe-tables
Section titled “a11y-axe-tables”Report findings from the mapped axe-core tables group, including the observable scope-attr-valid signal.
Inputs. The pinned bundled axe probe evaluated the rendered document and returned violation and manual-review groups.
Evidence. Report the bundled collector version, each relevant axe ID, impact and affected nodes or explicit collection/review reason.
Advisory. Excluded from scoring. Requires Chromium rendering. Has configurable thresholds or options.
a11y-axe-lists
Section titled “a11y-axe-lists”Report findings from the mapped axe-core lists group, including the observable definition-list signal.
Inputs. The pinned bundled axe probe evaluated the rendered document and returned violation and manual-review groups.
Evidence. Report the bundled collector version, each relevant axe ID, impact and affected nodes or explicit collection/review reason.
Advisory. Excluded from scoring. Requires Chromium rendering. Has configurable thresholds or options.
a11y-axe-media
Section titled “a11y-axe-media”Report findings from the mapped axe-core media group, including the observable blink signal.
Inputs. The pinned bundled axe probe evaluated the rendered document and returned violation and manual-review groups.
Evidence. Report the bundled collector version, each relevant axe ID, impact and affected nodes or explicit collection/review reason.
Advisory. Excluded from scoring. Requires Chromium rendering. Has configurable thresholds or options.
a11y-axe-frames
Section titled “a11y-axe-frames”Surface an axe frame result that requires manual review and preserve the engine’s uncertainty.
Inputs. The pinned axe collector ran for the rendered document and exposed frame observations.
Evidence. Axe check ID and reviewed frame count.
Advisory. Excluded from scoring. Requires Chromium rendering. Has configurable thresholds or options.
a11y-axe-aria
Section titled “a11y-axe-aria”Report findings from the mapped axe-core aria group, including the observable aria-required-attr signal.
Inputs. The pinned bundled axe probe evaluated the rendered document and returned violation and manual-review groups.
Evidence. Report the bundled collector version, each relevant axe ID, impact and affected nodes or explicit collection/review reason.
Advisory. Excluded from scoring. Requires Chromium rendering. Has configurable thresholds or options.
a11y-axe-language
Section titled “a11y-axe-language”Report findings from the mapped axe-core language group, including the observable html-lang-valid signal.
Inputs. The pinned bundled axe probe evaluated the rendered document and returned violation and manual-review groups.
Evidence. Report the bundled collector version, each relevant axe ID, impact and affected nodes or explicit collection/review reason.
Advisory. Excluded from scoring. Requires Chromium rendering. Has configurable thresholds or options.
a11y-axe-other
Section titled “a11y-axe-other”Report findings from the mapped axe-core other group, including the observable avoid-inline-spacing signal.
Inputs. The pinned bundled axe probe evaluated the rendered document and returned violation and manual-review groups.
Evidence. Report the bundled collector version, each relevant axe ID, impact and affected nodes or explicit collection/review reason.
Advisory. Excluded from scoring. Requires Chromium rendering. Has configurable thresholds or options.
