Scalable text, configurable controls and accessibility #38

Open
opened 2026-10-01 11:36:33 +02:00 by kawa · 1 comment
Owner

Plan: docs/PLAN.md section 4

Commit: f289615

Plan: docs/PLAN.md section 4 Commit: f289615
kawa added this to the Pokemon Crystal - Web project 2026-10-01 11:36:33 +02:00
kawa moved this to A faire in Pokemon Crystal - Web on 2026-10-01 11:36:33 +02:00
samy was assigned by PestoRosso 2026-10-03 15:12:42 +02:00
PestoRosso added the P2 - later label 2026-10-03 15:19:51 +02:00
samy moved this to En cours in Pokemon Crystal - Web on 2026-10-03 20:43:01 +02:00
Collaborator

First increment pushed in f289615.

Done

  • Settings dialog beside Help: text size (Standard, Large, Largest: 100/125/150 %), applied to every font size through --text-scale. The dialogue box scrolls instead of growing past the game screen.
  • Keyboard controls: one key per button, changed with Change then a key press; Escape cancels; Tab, Escape and Space stay reserved. A reused key leaves its old button, which is reported. Reset controls restores the defaults.
  • Preferences live in this browser's localStorage (crystal-preferences-v1), validated on load, outside saves and backups.
  • The game screen's label, the Play message and Help's control list name the current keys. Help's outdated text was rewritten.
  • Unit tests for the preferences and browser tests for rebinding, cancelling, text size, reload and Help.

Left

  • Screen reader announcements for every native screen
  • Touch control remapping
First increment pushed in f289615. **Done** - Settings dialog beside Help: text size (Standard, Large, Largest: 100/125/150 %), applied to every font size through `--text-scale`. The dialogue box scrolls instead of growing past the game screen. - Keyboard controls: one key per button, changed with Change then a key press; Escape cancels; Tab, Escape and Space stay reserved. A reused key leaves its old button, which is reported. Reset controls restores the defaults. - Preferences live in this browser's `localStorage` (`crystal-preferences-v1`), validated on load, outside saves and backups. - The game screen's label, the Play message and Help's control list name the current keys. Help's outdated text was rewritten. - Unit tests for the preferences and browser tests for rebinding, cancelling, text size, reload and Help. **Left** - Screen reader announcements for every native screen - Touch control remapping
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kawa/Crystal#38