Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

live

Rules: 9

live/click-target

A clickable div or span has no role

live/click-target/inaccessible · warning · score 5.2 · page

A plain element that takes clicks cannot be reached by keyboard or announced by a screen reader, so those visitors cannot use it. Only sampled pages are judged, in a browser.

Fix

Use <button> or <a href>; a custom control needs a role, tabindex="0" and a key handler too.

Off by default; a group that runs live turns it on.

References

For rule authors

Reads

  • live.clickables

live/contrast-enhanced

Text stays below 7:1 contrast when more contrast is requested

live/contrast-enhanced/weak · warning · score 5.0 · page

The page answers the more-contrast preference but some text still falls short of the 7:1 enhanced ratio, so low-vision visitors who asked for it gain little. Only sampled pages are judged, in a browser.

Fix

Raise every colour pair inside @media (prefers-contrast: more) to 7:1, or 4.5:1 for large text.

Off by default; a group that runs live turns it on.

References

For rule authors

Reads

  • live.contrast.faint

live/contrast-more

No style answers a request for more contrast

live/contrast-more/weak · info · score 1.6 · page

Visitors who set their system to more contrast, such as people with low vision, still see the default pale colours. Only sampled pages are judged, in a browser.

Fix

Darken muted text and borders inside @media (prefers-contrast: more), aiming at 7:1.

Off by default; a group that runs live turns it on.

References

For rule authors

Reads

  • live.contrast.claimed

live/dark-contrast

Text is too faint to read in the dark scheme the page claims

live/dark-contrast/weak · warning · score 5.6 · page

The page declares dark support but some elements have low contrast in it, so visitors using dark mode cannot read them. Only sampled pages are judged, in a browser.

Fix

Give every prefers-color-scheme: dark colour a matching background, or drop dark from color-scheme until the dark styles exist.

Off by default; a group that runs live turns it on.

References

For rule authors

Reads

  • live.dark

live/forced-color-adjust

Elements keep their own text colours under forced colours

live/forced-color-adjust/inaccessible · info · score 2.4 · page

Text that opts out of forced colours keeps its own palette, which may be unreadable against the background a high-contrast visitor chose. Only sampled pages are judged, in a browser.

Fix

Keep forced-color-adjust: none to small graphics such as logos and swatches, never on text.

Off by default; a group that runs live turns it on.

References

For rule authors

Reads

  • live.forced.opt-out

live/forced-colors-icon

Icon controls show nothing under forced colours

live/forced-colors-icon/inaccessible · warning · score 5.4 · page

A button whose only content is a gradient or masked icon turns blank in Windows high-contrast mode, so those visitors cannot see what it does. Only sampled pages are judged, in a browser.

Fix

Draw icons with inline SVG in currentColor or an <img>; a masked icon needs forced-color-adjust: none and background-color: ButtonText under @media (forced-colors: active).

Off by default; a group that runs live turns it on.

References

For rule authors

Reads

  • live.forced.icons

live/input-font-size

Form fields use a font under 16 px

live/input-font-size/weak · info · score 2.6 · page

iOS Safari zooms the page in when a field with a smaller font is focused, which disorients phone users. Measured at a desktop viewport on sampled pages, in a browser.

Fix

Give inputs, selects and text areas font-size: 16px or more; measured at the crawler’s desktop viewport, so a phone-only media query goes unseen.

Off by default; a group that runs live turns it on.

References

For rule authors

Reads

  • live.inputs

live/reduced-motion

Animations and videos ignore the reduced-motion preference

live/reduced-motion/missing · warning · score 6.2 · page

Visitors who ask their system for less motion, often because moving content causes dizziness or nausea, still get endless animations and autoplay. Only sampled pages are judged, in a browser.

Fix

Stop endless and long animations and autoplay inside @media (prefers-reduced-motion: reduce).

Off by default; a group that runs live turns it on.

References

For rule authors

Reads

  • live.motion
  • live.videos

live/webmcp

The page registers no WebMCP tools for in-browser agents

live/webmcp/missing · hint · score 0.8 · page

A browser agent can then only click and read the interface, which is slower and more fragile than calling the page’s actions. Only checked where the browser supports WebMCP.

Fix

Register the page’s actions as WebMCP tools with navigator.modelContext, so an in-browser agent calls them instead of driving the interface.

Off by default; a group that runs live turns it on.

References

For rule authors

Reads

  • live.webmcp