Skip to content

fix(a11y): pause + completion overlays don't hide the board from the accessibility tree (both apps) #680

Closed

Description

@wei18

Confirmed on BOTH apps via sim idb ui describe-all (2026-07-05 UX audit).

When PauseOverlayView or the completion overlay (CompletionOverlayScaffold) is presented, the underlying board's cell buttons stay LIVE in the accessibility tree, interleaved with the overlay's own controls in board-scan order — e.g. Button 'Close' sandwiched between Row 8,Col 8 and Row 8,Col 9; Button 'Resume'/'Leave' mixed among dozens of Row R,Col C cells. A VoiceOver user swiping the paused/completed screen lands on stale board cells instead of just the 1-2 real controls. Visually clean and touch works (topmost view wins hit-testing) — this is a VoiceOver-only defect, invisible to screenshot-only checks.

Likely fix: apply .accessibilityHidden(true) (or .accessibilityElement(children: .contain) scoping) to the board layer when either overlay presents. Since both overlays live in shared GameShellKit/GameAppKit and both boards mount them, ONE shared fix should cover both apps — verify the hide is applied at the shared layer, not per-app.

Possible (unconfirmed) secondary concern: one ambiguous tap near the completion 'Close' boundary was inconclusive on whether background cells remain hit-testable — worth confirming during the fix. Screenshots owner-held / build/sim/shots/audit-*.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions