zcatgui/src/utils
reugenio 1a26d34aa3 feat: zcatgui v0.14.0 - Phase 8 Accessibility & Testing
Accessibility System:
- Role enum for all widget types (button, checkbox, slider,
  tree, table, menu, dialog, etc.)
- State packed struct (disabled, focused, selected, checked,
  expanded, pressed, invalid, readonly, required, busy)
- Info struct with label, description, value, position,
  level, controls, labelled_by
- Manager for tracking widget accessibility info
- announce() method for screen reader announcements
- Live region support (polite, assertive)
- Helper constructors for common patterns

Testing Framework:
- TestRunner for simulating user interactions:
  - Mouse: click, doubleClick, drag, scroll, moveMouse
  - Keyboard: pressKey, typeText, shortcut
  - Time: tick, waitFrames, advanceTime
- SnapshotTester for visual regression testing:
  - capture() to save framebuffer
  - compare() to diff against baseline
  - update() to update baseline
- Assertions module:
  - assertVisible, assertContains, assertIntersects
  - assertColorEqual, assertColorNear
  - assertInRange

Widget count: 35 widgets
Test count: 274 tests passing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-09 13:54:07 +01:00
..
arena.zig feat: zcatgui v0.6.0 - Phase 1 Optimization Complete 2025-12-09 12:45:00 +01:00
benchmark.zig feat: zcatgui v0.6.0 - Phase 1 Optimization Complete 2025-12-09 12:45:00 +01:00
pool.zig feat: zcatgui v0.6.0 - Phase 1 Optimization Complete 2025-12-09 12:45:00 +01:00
testing.zig feat: zcatgui v0.14.0 - Phase 8 Accessibility & Testing 2025-12-09 13:54:07 +01:00
utils.zig feat: zcatgui v0.14.0 - Phase 8 Accessibility & Testing 2025-12-09 13:54:07 +01:00