ARIA & keyboard
Control contains another focusable control
WCAG 2.2 success criterion 4.1.2 Name, Role, Value (Level A)
- WCAG 2.2
- 4.1.2 Name, Role, Value
- Level
- A
- Default severity
- Error
- Available in
- Free
Updated for Lumtera 1.3.0 and Lumtera Pro 1.2.0.
Why does it matter?
WCAG 4.1.2 asks that every control exposes its own name and role; this kind of control flattens everything inside it into one name, so the focusable item inside has no role screen readers can announce.
Who it affects: Screen reader and keyboard users, who depend on ARIA and focus order being correct to understand and operate the page.
What does Lumtera flag?
A link, field or other focusable item inside a button, checkbox, tab or similar control.
Check ID nested-interactive — use it to filter the content report or with wp lumtera issues --rule.
How do I fix it in WordPress?
Move the inner link or control out, so the two sit side by side. For a split button, use two separate buttons. If the inner element is only visual, add tabindex="-1" and role="none", or disable it.
Example
<button>Save <a href="/help">Help</a></button>
<button>Save</button> <a href="/help">Help</a>
How do I check the fix?
- Update the post. The issue disappears from the Lumtera Accessibility sidebar on the next check, and from the site report on the next scan.
- Press Tab from the top of the page. Focus should move in reading order and never land on something invisible or silent.
Find this issue across your whole site
Lumtera runs this check in the block editor sidebar as you write, in the Elementor panel, in Review mode on the live page, and across the whole site in the content report and with wp lumtera scan. You can change its severity or turn it off in Lumtera → Settings.
Related checks
-
WCAG 2.4.4 · AError
Link has no text
-
WCAG 4.1.2 · ANeeds review
Link does not go anywhere
-
WCAG 4.1.2 · AError
Button has no text
-
WCAG 4.1.2 · AError
Form field has no label
-
WCAG 4.1.2 · AError
Embedded frame has no title
-
WCAG 4.1.2 · ANeeds review
Embedded frames share the same title
Start with the free plugin today
All 88 content checks and 38 whole-page checks, fixes you approve with undo, and the site report — free, with no account and no page limits.