CriticalWCAG 4.1.2 · Level ARobust
Empty Button Lacks Accessible Name
Flags <button> elements with no inner text, aria-label, title, or image alt text.
Rule ID: custom-empty-button · reported under Needs review, because a person should confirm it.
Who this affects
Screen-reader and voice-control users cannot tell what a control is, what it is called or what state it is in.
WCAG 4.1.2 Name, Role, Value: read the W3C explanation of Name, Role, Value
How to fix it
Problem
<button></button>Fixed
<button aria-label="Close dialog">✕</button>These are short examples. In the extension, A11yEngine points to the element on your own page and can suggest a fix for your code (HTML, React, Vue or Tailwind).
Find this on your own pages
Check any page for this and 100+ other issues in your browser, free.