Files
ghaida__intent/docs/public
Ghaida Zahran 16a369229b fix(docs): address WCAG accessibility findings
- Color contrast: --blueprint-mark light bumped from #74748c to #65657a
  (was 4.36:1, now passes WCAG AA on --bg). Dark mode --blueprint-mark
  bumped from #5c5c78 to #8888a8 (was 2.93:1, hard fail). Synced
  --severity-low-fg between [data-theme='dark'] and the
  prefers-color-scheme media query (was #7878a0 vs #8888b0; now both
  #8888b0).
- Output panel triggers in how-to-use.astro: added aria-expanded='false'
  and aria-controls='output-panel'; output-panel.js now toggles
  aria-expanded on open/close so screen readers know the button controls
  a dialog.
- Theme toggle aria-label is now dynamic: starts as 'Switch to dark
  mode' and updates on each toggle to describe the next action, not the
  current state. Initial label syncs to the active theme on page load.
- output-panel.js: documented the safety contract for the innerHTML
  assignment so future changes know the upstream simpleMarkdown()
  escapeHtml() guarantee is the only thing keeping it safe.
2026-04-30 23:47:32 -07:00
..