Accessibility

Contrast ratios below are calculated by the board generator from the hex values in admin.css.

Contrast (WCAG 2.2 AA), computed from the token values

ForegroundBackgroundUseRatioNeedsResult
#171719#ffffffBody text (--ink) on white17.90 : 14.5合格
#626269#ffffffSecondary text (--ink-2) on white6.05 : 14.5合格
#626269#fafafbSecondary text on table head (--subtle)5.80 : 14.5合格
#626269#fff6f7Menu icons on sidebar (--pink-50)5.70 : 13.0合格
#171719#fee5eeSelected menu item (--pink-100)15.05 : 14.5合格
#111111#ee648aPrimary button text on brand pink6.14 : 14.5合格
#111111#f07798Primary button, hover7.01 : 14.5合格
#111111#e05e82Primary button, pressed5.48 : 14.5合格
#ffffff#b3261eDanger button6.54 : 14.5合格
#ffffff#8f1e18Danger button, hover8.87 : 14.5合格
#b3261e#ffffffQuiet danger button / error text6.54 : 14.5合格
#b3261e#ffe3e0Status: bad5.39 : 14.5合格
#126f59#e6f4efStatus: ok5.39 : 14.5合格
#9a5b00#fff4e0Status: warn4.98 : 14.5合格
#1565c0#e7f0fbStatus: info5.00 : 14.5合格
#4a4a50#ebebefStatus: neutral / role tag7.40 : 14.5合格
#171719#fff4e0Incident bar text16.43 : 14.5合格
#171719#e7f0fbNew row highlight15.56 : 14.5合格
#ffffff#171719Kokoromil bar and black label17.90 : 14.5合格
#c9c9cf#171719Secondary text on Kokoromil bar10.86 : 14.5合格
#6e6e75#ffffffPlaceholder text5.06 : 14.5合格
#6e6e75#ebebefDisabled button text (exempt, shown for reference)4.26 : 1なし対象外
#8a8a92#ffffffField and button border (--field)3.43 : 13.0合格
#111111#ffffffFocus ring outer band18.88 : 13.0合格
#ee648a#ffffffBrand pink as a graphic on white (never used alone)3.08 : 1なし対象外
#ee648a#111111Focus ring inner band against outer band6.14 : 13.0合格

Keyboard order

  • 1 Skip link「本文へ移動」 → 2 top bar (help, sign-out) → 3 menu → 4 page actions → 5 filters → 6 table: sort buttons, then each row's actions left to right → 7 pager.
  • Tables are plain tables. Tab moves through buttons and links only; no arrow-key grid.
  • Dialog: focus moves to the title on open, stays inside, Esc = cancel, focus returns to the button that opened it. In a destructive dialog the first focusable button is キャンセル.
  • Toast does not take focus; it is announced with role="status" and stays until closed when it carries an undo.
  • After a row action, focus goes to the same row's first action (the row keeps its place; state changes are highlighted for 5 s [TBD]).

Focus, labels, meaning

  • Focus ring: 2 px pink inside, 2 px ink outside, offset 2 px. On the dark Kokoromil bar the outer band is white. Never remove it.
  • Every icon button has a visible text label. Icons alone carry no meaning.
  • State = icon + word + tone. Never tone alone. Problem rows are also sorted first.
  • Kokoromil actions = black label with the word「ココロミル」, not a colour.
  • Form labels are always visible; placeholders are examples only. Errors: red border + icon + sentence, aria-invalid.
  • Click targets: 32 px minimum height in dense tables, 36 px default, 40 px for inputs and menu items.
  • Honour prefers-reduced-motion: no spinner rotation, no skeleton shimmer.
  • Zoom to 200% and 1024 px width must not need horizontal page scroll; wide tables scroll inside their own box.
一覧へ戻る