Skip to content

Accessibility audit rules

View as Markdown

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

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

Report inconsistent HTML and XML language declarations.

Inputs. HTML must be available.

Evidence. Values of both language attributes.

Base scoring weight 3 when measured.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.