Accessibility
- A native
<button>, named only byariaLabel. Describe the action, not the picture: "Add to favorites", not "Heart". - A toggle has
aria-pressed, kept in step with the selected state; don't set it yourself. - Mark the icon's own SVG
aria-hidden="true", so the name is announced once. Tabfocuses it;EnterandSpaceactivate it. Disabled, it leaves the tab order.- The
xsandssizes, and any size brought below 48dp by--mtrl-density, keep a 48dp touch target beyond their container.