button-name: Buttons must have discernible accessible names
Icon-only buttons (cart drawer, search, close modal, carousel arrows) must expose an accessible name via visible text, visually hidden text, or aria-label.
Why this matters for EAA & ADA compliance
Without a name, screen readers announce only 'button'—leaving keyboard and blind shoppers unable to open their cart, close popups, or complete checkout.
Mapped standards: 4.1.2 Name, Role, Value (Level A) • EN 301 549 § 9.4.1.2
Standard HTML Fix
<button type="button" class="icon-btn"><svg viewBox="0 0 24 24">...</svg></button>
<button type="button" class="icon-btn" aria-label="Open shopping cart"><svg aria-hidden="true" viewBox="0 0 24 24">...</svg></button>
Shopify Liquid Fix
<button class="drawer__close">{% render 'icon-close' %}</button>
<button type="button" class="drawer__close" aria-label="{{ 'accessibility.close' | t | default: 'Close cart drawer' }}">{% render 'icon-close' %}</button>
React / Next.js Fix
<button onClick={onClose}><XIcon /></button>
<button type="button" onClick={onClose} aria-label="Close dialog"><XIcon aria-hidden="true" /></button>