Webtrax docs

Rules · Accessibility (browser, axe-core WCAG 2.x A/AA)

Form elements must have labels

a11y.label · default severity MEDIUM · rule version 1

Why it matters

Ensure every form element has a label. WCAG: 4.1.2.

How to fix it

Form elements must have labels. Deque's guidance for this rule: https://dequeuniversity.com/rules/axe/4.14/label

Checking the fix

Run the check again (webtrax check <url>), or compare two runs with webtrax diff: a fixed finding moves to "Fixed". To see this guidance from the terminal, run webtrax explain a11y.label.