Accessibility
- The container has
role="group"and anaria-label,"Button group"unless you name it. - In a selection group every button has
aria-pressed, kept in step whether the selection changed by a press or a method. - Name icon-only buttons with
ariaLabel; nothing warns when one is missing. Tabmoves through the buttons, native<button>s thatSpaceandEnteractivate. The group adds no arrow-key navigation.