Webtrax docs

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

Interactive controls must not be nested

a11y.nested_interactive · default severity MEDIUM · rule version 1

Why it matters

Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies. WCAG: 4.1.2.

How to fix it

Interactive controls must not be nested. Deque's guidance for this rule: https://dequeuniversity.com/rules/axe/4.14/nested-interactive

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.nested_interactive.