Empty button
Why it matters
A <button> with no content and no label is announced as just "button" (Lighthouse: buttons do not have an accessible name).
Fix
Give it text or an aria-label.
Credit
From Deque
The axe rule button-name requires buttons to have discernible text.
From W3C Web Accessibility Initiative
WCAG 4.1.2 requires every control to expose a name.
References
- Buttons must have discernible textDeque University
- Understanding Success Criterion 4.1.2: Name, Role, ValueW3C
- <button> HTML button elementMDN Web Docs