How to fix: input buttons without text
WCAG 2.2 success criterion 4.1.2 (level A)
Why it matters
<input type="submit"> or "button" with an empty value is announced without a name.
How to fix
Set a value attribute that says what the button does.
<input type="submit" value="Send order">
Test it yourself
- Inspect <input type="submit">, "button" and "reset" elements: each needs a value attribute with visible text, such as value="Send".
Common mistakes
- An empty value because the theme shows an icon with CSS instead.
- value="Submit" on a Norwegian site where everything else is in Norwegian.
Check your own site
Find this and other problems on your website in 30 seconds, free.