A11y Standard
Deterministic accessibility rules for web pages and HTML email, built on WCAG 2.2 Level AA. Given the same subject and the same standard, two conforming evaluators report the same result for every automatable rule.
Same subject + same standard = same result.
conformance-target
Conformance
A subject conforms when every `required` rule that applies to it is `pass` or `not-applicable`. Rules marked AAA or with `wcag-level` `none` never decide WCAG conformance; they report alongside it.
- pass
- The rule was evaluated and no failure was found.
- fail
- At least one failure was found. Evidence identifies each one.
- not-applicable
- Nothing in the subject is in the rule's scope (for example, no images).
- requires-review
- The rule applies but the evaluator could not decide it. A person must review it.
rules
Rules (50)
33 required, 13 recommended, 4 optional. Each rule is keyed by its id in rules. Select a rule to see its check, detection methods and parameters.
content
Wording of text, links and buttons.
link-purposeLinks say where they gorequiredWCAG 2.4.4 · A
Every link's purpose can be determined from its text, or from its text together with its programmatically determined context.
check Fail a link whose accessible name is generic ("click here", "read more", "learn more", a bare URL) and whose surrounding sentence, list item, table cell or heading does not say where it goes (WCAG failure F63).
- applies-to
- page, email
- detection
- code-analysis, manual-review
- basis
- wcag-defined
- a11y-project
- true
control-names-uniqueButtons and links are distinguishablerecommendedWCAG 2.4.6, 2.4.9 · AA
Buttons, links and labels that do different things have different, descriptive text.
check Fail when two or more links or buttons share an accessible name but lead to different destinations or perform different actions.
- applies-to
- page, email
- detection
- code-analysis
- basis
- wcag-defined
- a11y-project
- true
plain-languageContent uses plain languageoptionalWCAG 3.1.5 · AAA
Body content is written in plain language at about a lower-secondary reading level, without idioms or figures of speech that do not translate.
check Review body content for reading level, idioms, jargon and undefined abbreviations.
- applies-to
- page, email
- detection
- manual-review
- basis
- wcag-defined
- a11y-project
- true
text-alignmentBody text is not justifiedoptionalWCAG 1.4.8 · AAA
Body text is aligned to the start edge of its language (left for LTR, right for RTL) and is not justified or centered in blocks of more than one line.
check Fail a paragraph of body text longer than one line with text-align justify or center.
- applies-to
- page, email
- detection
- rendered-analysis
- basis
- wcag-defined
- a11y-project
- true
global-code
Document-level code that affects the whole page or view.
valid-markupMarkup is well formedrecommendedschemafirst-default
Markup parses without errors that change the accessibility tree: no duplicate IDs referenced by ARIA or labels, no improperly nested interactive elements.
check Fail duplicate id values that are referenced by for, aria-labelledby or aria-describedby, and interactive elements nested inside other interactive elements. WCAG 2.2 removed 4.1.1 Parsing; this rule keeps the parts that still affect assistive technology.
- applies-to
- page, email
- detection
- code-analysis
- basis
- schemafirst-default
- a11y-project
- true
page-languagePage declares its languagerequiredWCAG 3.1.1, 3.1.2 · AA
The html element has a lang attribute with a valid BCP 47 language tag, and passages in another language carry their own lang.
check Fail when <html> has no lang attribute, an empty one, or a value that is not a valid BCP 47 tag.
- applies-to
- page, email
- detection
- code-analysis
- basis
- wcag-defined
- a11y-project
- true
page-titlePage has a descriptive titlerequiredWCAG 2.4.2 · A
Every page or view has a title element that describes its topic or purpose and differs from other pages' titles.
check Fail when <title> is missing or empty. Flag for review a title that is only the site name.
- applies-to
- page
- detection
- code-analysis, manual-review
- basis
- wcag-defined
- a11y-project
- true
viewport-zoom-enabledZoom is not disabledrequiredWCAG 1.4.4 · AA
The viewport does not prevent people from zooming.
check Fail a meta viewport whose content sets user-scalable=no (or 0) or a maximum-scale below 2.
- applies-to
- page
- detection
- code-analysis
- basis
- wcag-defined
- a11y-project
- true
landmarksPage regions use landmarksrecommendedWCAG 1.3.1 · A
Major regions use landmark elements: one main, plus header, nav and footer where those regions exist.
check Fail a page with no <main> element (or role=main), or with more than one visible main landmark.
- applies-to
- page
- detection
- code-analysis
- basis
- wcag-defined
- a11y-project
- true
bypass-blocksRepeated navigation can be skippedrecommendedWCAG 2.4.1 · A
Keyboard users can skip blocks repeated across pages, through a skip link to the main content or through landmarks.
check Pass when the first focusable element is a working in-page link to the main content, or the page has a main landmark. Fail when a skip link's target does not exist.
- applies-to
- page
- detection
- code-analysis
- basis
- wcag-defined
- a11y-project
- true
focus-orderFocus order follows the layoutrequiredWCAG 2.4.3, 1.3.2 · A
Keyboard focus moves through the page in an order that matches its visual and reading order.
check Fail any tabindex value greater than 0. Review that the tab sequence matches the visual layout.
- applies-to
- page
- detection
- code-analysis, manual-review
- basis
- wcag-defined
- a11y-project
- true
no-autofocusFocus is not moved on loadrecommendedWCAG 2.4.3, 3.2.1 · A
Pages do not move focus without the person's action.
check Fail an autofocus attribute on any element outside a dialog that the person opened.
- applies-to
- page
- detection
- code-analysis
- basis
- wcag-defined
- a11y-project
- true
timing-adjustableTime limits can be extendedrequiredWCAG 2.2.1 · A
Where a time limit exists, the person can turn it off, adjust it, or extend it before it expires.
check Review session timeouts and timed content for a warning with a way to extend of at least 20 seconds.
- applies-to
- page
- detection
- manual-review
- basis
- wcag-defined
- a11y-project
- true
no-title-tooltipsImportant information is not only in a title attributeoptionalschemafirst-default
Information people need is not conveyed only through a title attribute tooltip. Labelling an iframe is the acceptable use.
check Flag title attributes on elements other than iframe whose text appears nowhere else in the element's accessible name or description.
- applies-to
- page
- detection
- code-analysis
- basis
- schemafirst-default
- a11y-project
- true
keyboard
Operating and navigating without a pointer.
keyboard-operableEverything works from the keyboardrequiredWCAG 2.1.1 · A
Every function available by pointer is available by keyboard: links, buttons, form controls, menus, dialogs, tabs, accordions and custom widgets.
check Tab, Shift+Tab, Enter, Space, Escape and arrow keys reach and operate every interactive element. Fail any pointer-only control.
- applies-to
- page
- detection
- rendered-analysis, manual-review
- basis
- wcag-defined
- a11y-project
- true
no-keyboard-trapKeyboard focus is never trappedrequiredWCAG 2.1.2 · A
Focus can always leave any component using standard keys, and a modal dialog returns focus when closed.
check Tab through the whole page and every opened dialog or widget. Fail when focus cannot leave a component with Tab, Shift+Tab or Escape.
- applies-to
- page
- detection
- rendered-analysis, manual-review
- basis
- wcag-defined
- a11y-project
- true
focus-visibleKeyboard focus is visiblerequiredWCAG 2.4.7, 2.4.11 · AA
Every focusable element shows a visible focus indicator, and the focused element is not entirely hidden by sticky headers, banners or other content.
check Fail an element whose focused and unfocused renderings are identical, or that is fully covered by author content when focused.
- applies-to
- page
- detection
- rendered-analysis
- basis
- wcag-defined
- a11y-project
- true
images
Text alternatives for non-text content.
images-alt-presentImages have an alt attributerequiredWCAG 1.1.1 · A
Every img element has an alt attribute. Decorative images use an empty alt (alt="").
check Fail an <img> without an alt attribute, an <input type="image"> without alt, or a role="img" element without an accessible name.
- applies-to
- page, email
- detection
- code-analysis
- basis
- wcag-defined
- a11y-project
- true
alt-text-descriptiveAlt text describes the imagerequiredWCAG 1.1.1 · A
Alt text conveys the image's content or function, includes any text shown in the image, and is not a file name, URL or placeholder.
check Fail alt text that is a file name or URL, or a placeholder such as "image", "photo", "graphic" or "spacer" (WCAG failure F30). Review the rest for meaning.
- applies-to
- page, email
- detection
- code-analysis, manual-review
- basis
- wcag-defined
- a11y-project
- true
complex-images-describedCharts and maps have a text alternativerecommendedWCAG 1.1.1 · A
Charts, graphs, maps and diagrams have a text alternative that gives the same information: axes, data points, labels and the conclusion.
check Review each complex image for an adjacent description, data table or linked long description.
- applies-to
- page, email
- detection
- manual-review
- basis
- wcag-defined
- a11y-project
- true
headings
Heading structure.
h1-presentPage has one main headingrecommendedWCAG 1.3.1, 2.4.6 · AA
Each page has an h1 that names its main content.
check Fail a page with no <h1>. WCAG does not require an h1; SchemaFirst does by default.
- applies-to
- page
- detection
- code-analysis
- basis
- schemafirst-default
- a11y-project
- true
heading-hierarchyHeadings are in logical orderrecommendedWCAG 1.3.1, 2.4.6 · AA
Headings introduce content and their levels nest without skipping (h2 follows h1, h3 follows h2).
check Fail a heading whose level is more than one deeper than the previous heading, and an empty heading.
- applies-to
- page, email
- detection
- code-analysis
- basis
- wcag-defined
- a11y-project
- true
lists
List structure.
lists-marked-upLists use list markuprecommendedWCAG 1.3.1 · A
Content that is visually a list uses ul, ol or dl, and list elements contain only list items.
check Fail a ul or ol with direct children other than li, script or template. Review runs of lines starting with bullets or numbers in plain text.
- applies-to
- page, email
- detection
- code-analysis, manual-review
- basis
- wcag-defined
- a11y-project
- true
tables
Data table structure.
data-tables-structuredData tables have headersrequiredWCAG 1.3.1 · A
Data tables use th for header cells with scope (or headers/id for complex tables) and a caption; layout tables are not used on pages.
check Fail a table with more than one row and column of data and no th. In email, layout tables must have role="presentation".
- applies-to
- page, email
- detection
- code-analysis
- basis
- wcag-defined
- a11y-project
- true
controls
Links, buttons and widgets.
aria-validARIA is used correctlyrequiredWCAG 4.1.2 · A
Native elements are used where they exist; where ARIA is used, roles are valid, required attributes are present, and states match what is shown.
check Fail an invalid role value, an ARIA attribute not allowed on its role, a missing required attribute, or an aria-labelledby/aria-describedby that points to a missing id.
- applies-to
- page, email
- detection
- code-analysis
- basis
- wcag-defined
- a11y-project
- true
links-distinguishableLinks stand out from body textrequiredWCAG 1.4.1 · A
Links inside text are distinguishable by more than color: an underline or other visual cue, or 3:1 contrast with surrounding text plus a cue on hover and focus.
check Fail an in-text link with no underline or other non-color cue whose color is below 3:1 against the surrounding text.
- applies-to
- page, email
- detection
- rendered-analysis
- basis
- wcag-defined
- a11y-project
- true
forms
Form fields, labels and errors.
form-labelsForm fields are labelledrequiredWCAG 1.3.1, 3.3.2, 4.1.2 · A
Every form control has a visible label that is programmatically associated with it.
check Fail an input, select or textarea (other than hidden, submit, reset, button or image) with no label[for], wrapping label, aria-labelledby or aria-label. Placeholder text alone is not a label.
- applies-to
- page
- detection
- code-analysis
- basis
- wcag-defined
- a11y-project
- true
error-identificationErrors are identified and explainedrequiredWCAG 3.3.1, 3.3.3 · AA
Input errors are described in text next to the field, the field is marked invalid, and a suggested correction is given when known.
check Submit each form with invalid input. Fail errors shown by color or icon only, or not associated with the field.
- applies-to
- page
- detection
- manual-review
- basis
- wcag-defined
- a11y-project
- true
input-purposePersonal-data fields declare their purposerequiredWCAG 1.3.5 · AA
Fields that collect information about the person (name, email, phone, address, etc.) have the matching autocomplete value.
check Fail a field whose name, id, type or label identifies a personal-data purpose and whose autocomplete is absent or does not match it.
- applies-to
- page
- detection
- code-analysis
- basis
- wcag-defined
- a11y-project
- true
media
Video and audio.
video-captionsVideos have captionsrequiredWCAG 1.2.2, 1.2.4 · AA
Prerecorded and live video with audio has synchronized captions.
check Fail a <video> with an audio track and no <track kind="captions"> (or kind="subtitles" with captions), and embedded players with captions turned off or unavailable.
- applies-to
- page, email
- detection
- code-analysis, manual-review
- basis
- wcag-defined
- a11y-project
- true
audio-transcriptsAudio has a transcriptrequiredWCAG 1.2.1 · A
Prerecorded audio-only content has a text transcript.
check Review each audio element or podcast embed for a transcript on the page or linked next to it.
- applies-to
- page, email
- detection
- manual-review
- basis
- wcag-defined
- a11y-project
- true
media-controlsMedia can be paused and audio does not autoplayrequiredWCAG 1.4.2, 2.1.1 · A
Audio that plays automatically for more than 3 seconds can be paused or muted, and media players have keyboard-operable controls.
check Fail <audio> or <video> with autoplay and sound that has no controls, and a custom player whose controls are not keyboard operable.
- applies-to
- page
- detection
- code-analysis, rendered-analysis
- basis
- wcag-defined
- a11y-project
- true
appearance
Color, size, spacing and layout.
color-not-sole-indicatorColor is not the only cuerequiredWCAG 1.4.1 · A
Information, state and required fields are not conveyed by color alone.
check View the page in grayscale. Fail any status, error, required marker, chart series or link that can no longer be told apart.
- applies-to
- page, email
- detection
- rendered-analysis, manual-review
- basis
- wcag-defined
- a11y-project
- true
text-resizeText can be resized to 200%requiredWCAG 1.4.4 · AA
Text can be enlarged to 200% without loss of content or function.
check Zoom to 200%. Fail content that is clipped, overlaps, or disappears.
- applies-to
- page, email
- detection
- rendered-analysis
- basis
- wcag-defined
- a11y-project
- true
reflowContent reflows at narrow widthsrequiredWCAG 1.4.10 · AA
Content fits a 320 CSS pixel wide viewport without horizontal scrolling, except content that needs two dimensions such as maps, data tables and diagrams.
check Render at 320 CSS px wide (or 1280 px at 400% zoom). Fail when the page scrolls horizontally outside two-dimensional content.
- applies-to
- page
- detection
- rendered-analysis
- basis
- wcag-defined
- a11y-project
- true
- viewport-width = 320 css-px — Viewport width at which content must reflow.
text-spacingText spacing can be increasedrequiredWCAG 1.4.12 · AA
No content or function is lost when line height is 1.5, paragraph spacing 2, letter spacing 0.12 and word spacing 0.16 times the font size.
check Apply the text spacing overrides. Fail text that is clipped or overlaps.
- applies-to
- page
- detection
- rendered-analysis
- basis
- wcag-defined
- a11y-project
- true
body-font-sizeBody text is a readable sizerecommendedschemafirst-default
Visible body text is rendered within the minimum and maximum pixel sizes.
check Fail visible body text whose computed font size is below `min-px` or above `max-px`.
- applies-to
- page, email
- detection
- rendered-analysis
- basis
- schemafirst-default
- a11y-project
- true
- min-px = 12 css-px (overridable) — Smallest permitted computed font size for body text.
- max-px = 48 css-px (overridable) — Largest permitted computed font size for body text.
animation
Motion and flashing.
no-flashingNothing flashes more than three times a secondrequiredWCAG 2.3.1 · A
No content flashes more than three times in any one-second period, unless the flash is below the general and red flash thresholds.
check Analyze animations, video and GIFs. Fail more than 3 flashes in any 1 second window above the thresholds.
- applies-to
- page, email
- detection
- rendered-analysis
- basis
- wcag-defined
- a11y-project
- true
pause-stop-hideMoving content can be pausedrequiredWCAG 2.2.2 · A
Content that moves, blinks, scrolls or auto-updates by itself for more than 5 seconds, alongside other content, can be paused, stopped or hidden.
check Fail an infinite or longer-than-`max-auto-motion-ms` animation, looping video or animated GIF without a pause control.
- applies-to
- page, email
- detection
- rendered-analysis
- basis
- wcag-defined
- a11y-project
- true
- max-auto-motion-ms = 5000 ms — Longest automatic motion allowed without a pause mechanism.
reduced-motionAnimation respects reduced-motion preferencerecommendedWCAG 2.3.3 · AAA
Non-essential motion triggered by interaction or on load is removed or reduced when the person has set prefers-reduced-motion: reduce.
check Render with prefers-reduced-motion: reduce. Fail non-essential animations and transitions that still run.
- applies-to
- page
- detection
- rendered-analysis
- basis
- wcag-defined
- a11y-project
- true
color-contrast
Contrast ratios.
text-contrastText has enough contrastrequiredWCAG 1.4.3 · AA
Text and images of text have a contrast ratio of at least 4.5:1 with their background; large text (at least 24 CSS px, or 18.66 CSS px bold) at least 3:1.
check Measure every visible text node against its rendered background. Fail ratios below `normal-text-ratio` for normal text or `large-text-ratio` for large text.
- applies-to
- page, email
- detection
- rendered-analysis
- basis
- wcag-defined
- a11y-project
- true
- normal-text-ratio = 4.5 ratio (overridable) — Minimum contrast for normal text. May be raised, never lowered.
- large-text-ratio = 3 ratio (overridable) — Minimum contrast for large text. May be raised, never lowered.
non-text-contrastControls and graphics have enough contrastrequiredWCAG 1.4.11 · AA
The visual boundaries and states of controls (inputs, buttons, checkboxes, focus indicators) and the parts of graphics needed to understand them have at least 3:1 contrast against adjacent colors.
check Fail a control whose strongest boundary cue (border or fill) is below `ui-ratio` against what surrounds it.
- applies-to
- page, email
- detection
- rendered-analysis
- basis
- wcag-defined
- a11y-project
- true
- ui-ratio = 3 ratio (overridable) — Minimum non-text contrast. May be raised, never lowered.
mobile-and-touch
Touch targets, orientation and gestures.
target-sizeTap targets are large enoughrequiredWCAG 2.5.8 · AA
Pointer targets are at least 24 by 24 CSS pixels, or are spaced so a 24 px circle centered on each does not overlap another target. Inline links in text are exempt.
check Fail a target smaller than `min-px` in either dimension that does not meet the spacing exception.
- applies-to
- page
- detection
- rendered-analysis
- basis
- wcag-defined
- a11y-project
- true
- min-px = 24 css-px (overridable) — Minimum target size. May be raised, never lowered.
orientationContent works in both orientationsrequiredWCAG 1.3.4 · AA
Content is not locked to portrait or landscape unless an orientation is essential.
check Render in both orientations. Fail content that is hidden or unusable in one.
- applies-to
- page
- detection
- rendered-analysis
- basis
- wcag-defined
- a11y-project
- true
pointer-gesturesGestures have a single-pointer alternativerequiredWCAG 2.5.1, 2.5.7 · AA
Functions that use multipoint, path-based or dragging gestures can also be done with a single tap or click.
check Review swipe carousels, sliders, maps and drag-and-drop for a single-pointer alternative.
- applies-to
- page
- detection
- manual-review
- basis
- wcag-defined
- a11y-project
- true
assistive-technology
Behavior with screen readers and other assistive technology.
screen-reader-reviewWorks with screen readersrequiredWCAG 1.3.1, 4.1.2 · A
Content reads in a meaningful order, and every interactive element announces its name, role and state with current screen readers.
check Test with at least one screen reader per platform in scope (for example NVDA or JAWS on Windows, VoiceOver on macOS and iOS, TalkBack on Android).
- applies-to
- page, email
- detection
- manual-review
- basis
- wcag-defined
- a11y-project
- false
Rules specific to HTML email.
email-images-off-legibleEmail is legible with images offoptionalschemafirst-default
The email's message and calls to action are readable with images blocked: key text is live text and images have alt text.
check Render with images blocked. Fail when the main message or primary call to action is lost.
- applies-to
- detection
- rendered-analysis
- basis
- schemafirst-default
- a11y-project
- false
email-plain-text-partEmail includes a plain-text partrecommendedschemafirst-default
HTML email is sent as multipart/alternative with a text/plain part that carries the same message and links.
check Fail an HTML email with no text/plain part, or one that is empty.
- applies-to
- detection
- code-analysis
- basis
- schemafirst-default
- a11y-project
- false
requirement-levels · detection-methods
Requirement levels and detection
- required
- Must pass for the subject to conform.
- recommended
- Should pass. Reported, but does not decide conformance.
- optional
- Reported only when requested or enabled by the organization profile.
- code-analysis
- Decided from the source markup alone.
- rendered-analysis
- Decided from the rendered page or email: computed styles, layout, screenshots, or scripted keyboard input.
- manual-review
- Needs human judgment. An automated evaluator returns `requires-review` unless it can decide the case from code or rendering.
provenance-classes
Provenance
- wcag-defined
- The rule restates a WCAG 2.2 success criterion; WCAG's normative text and Understanding documents govern its meaning.
- schemafirst-default
- A SchemaFirst decision made for deterministic evaluation, beyond what WCAG requires. Not authored or endorsed by the W3C.
- organization-defined
- Values supplied by the adopting organization through an explicit organization profile. Whether a value may be replaced is stated by each parameter's `overridable`.
organization-profile
Organization profile
may
- Raise a rule's `requirement` (optional to recommended, recommended to required).
- Change a parameter whose `overridable` is true, only in the stricter direction for wcag-defined rules.
- Enable optional rules.
must-not
- Lower the `requirement` of a wcag-defined rule at level A or AA.
- Loosen a wcag-defined threshold.
- Rename rules or change result statuses.
references
External basis
- Web Content Accessibility Guidelines (WCAG) 2.2
Normative success criteria every wcag-defined rule restates
- Understanding WCAG 2.2
Intent, examples and failure techniques (F30, F63, ...) cited by rule checks
- WAI-ARIA Authoring Practices Guide
Keyboard and ARIA patterns for custom widgets
- The A11Y Project Checklist
Category structure and practical coverage; rules marked `a11y-project` correspond to a checklist item
SchemaFirst is an independent community standard. It is not authored or endorsed by the W3C or The A11Y Project. Passing the automated rules does not by itself make a site accessible; manual-review rules exist for that reason.
github
Contribute
The standard lives in SchemaFirst/a11y-standard. Open an issue or pull request against standards/a11y/standard.json. Licensed Apache-2.0. Updated 2026-11-12.