Focusable element is marked as presentational
Why it matters
role="presentation" or "none" strips an element's meaning, but a link or button still takes focus, and the browser ignores the role to avoid hiding it.
How to fix it
Remove the role from interactive elements.
<!-- Before -->
<button role="presentation">Buy</button>
<!-- After -->
<button>Buy</button> Read the W3C guidance: Understanding 4.1.2 Name, Role, Value.
Related rules
- Frame has no title (WCAG 4.1.2)
- Label points at an element that does not exist (WCAG 4.1.2)
- Duplicate id is used by a label or ARIA attribute (WCAG 4.1.2)
- Button has no name (WCAG 4.1.2)
Find this on your own site. A11yMate scans every page and lists where it happens. See pricing or browse all rules.