Repository navigation
Commit 8b29707
committed
feat(contracts): name the keyboard band that owns a tap point
A software keyboard is its own system surface: it is never a covering sibling of app content,
so the same-window occlusion classifier cannot see it, and it leaves the app window rect
intact, so the viewport rule passes a covered tab bar. Nothing in the vocabulary said when a
tap point belongs to the keyboard rather than to the app behind it (#2589).
Derive the band from the captured tree -- topmost keyboard node down to the viewport bottom,
across the keyboard's own columns -- and report one decision with four outcomes, failing open
whenever the keyboard cannot be measured. Ownership reads accessibility type, role, and Android
input-method provenance, never a locale-dependent label. Derivation and outcomes are pinned by
contracts/fixtures/tap-keyboard-occlusion-policy.json.1 parent 2cafab3 commit 8b29707
3 files changed
Lines changed: 987 additions & 0 deletions
File tree
- contracts/fixtures
- packages/contracts/src
0 commit comments