shibro
Show the version of “A rich-text toolbar is grouped, shows pressed states and holds 8 to 12 controls”

Advanced inputs · SU-325

A rich-text toolbar is grouped, shows pressed states and holds 8 to 12 controls

Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.

  • Bold no pressed state
  • Bold pressed · 36px
  • Editing area min 160px
  • Toolbar 18 buttons · 24px
  • Overflow 8 shown + More

What changes

Bad
Eighteen ungrouped 24px icon buttons in one dense strip, no pressed state on Bold, and nothing to tell the groups apart.
Good
Eight 36px buttons in three hairline-divided groups (style, lists, insert) plus a More button, with Bold shown as pressed.

The rules

  • SU-325

    Rich-text toolbars are real toolbars. The container is role="toolbar" with a roving tabindex (one tab stop, arrow keys move). Buttons are 32-36px (44px on touch), grouped by hairlines (text style, lists, insert), and toggles use aria-pressed. Show at most 8-12 controls and put the rest under "More". The toolbar stays at the top of the editor, the editing area is at least 160px tall, and pasting offers plain text.