FA-54536 / Accessibility interaction semantics / Open access
Busy state suppresses simultaneous invalid metadata · case 01
Busy state suppresses simultaneous invalid metadata.
ROOT CAUSE
The invalid independence decision in the state capabilities adapter violates its declared contract.
THE FAILURE
The invalid independence decision in the state capabilities adapter violates its declared contract.
Unsuccessful approach: The local repair substitutes if x['invalid'] and x['editable']: but still mishandles the regression fixtures.
Case contract
Input semantic state record with required fields: enabled,readonly,editable,selectable,selected,expandable,expanded,checkable,checked,mixed,visible,offscreen,focused,focusable,busy,invalid. Output ordered API capability/state strings. editable only when editable,enabled,not readonly; selected only selectable; expanded/collapsed only expandable; mixed has priority over checked for checkable; invisible and offscreen differ; focused may be true independently of focusable; busy and invalid are independent. Return lexically sorted unique state names. readonly is always reported when true even if noneditable.
Why this case matters
Offline accessibility bridge model with explicit policy; useful for testing semantic API adapters independently of browser implementations.
1 / The failure
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(data):
x = data
out = []
if not x['enabled']: out.append('unavailable')
if x['readonly']: out.append('readonly')
if x['editable'] and x['enabled'] and not x['readonly']: out.append('editable')
if x['selectable'] and x['selected']: out.append('selected')
if x['expandable']: out.append('expanded' if x['expanded'] else 'collapsed')
if x['checkable']:
if x['mixed']: out.append('mixed')
elif x['checked']: out.append('checked')
if not x['visible']: out.append('invisible')
if x['offscreen']: out.append('offscreen')
if x['focused']: out.append('focused')
if x['busy']: out.append('busy')
if x['invalid'] and not x['busy']: out.append('invalid')
return sorted(out)
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('contract fixture 1', solve(dict(enabled=True,readonly=False,editable=True,selectable=True,selected=bool(N%2),expandable=True,expanded=False,checkable=True,checked=True,mixed=True,visible=True,offscreen=True,focused=True,focusable=False,busy=True,invalid=True),), ['busy','collapsed','editable','focused','invalid','mixed','offscreen']+(['selected'] if N%2 else []))
check('contract fixture 2', solve(dict(enabled=False,readonly=True,editable=True,selectable=False,selected=True,expandable=False,expanded=True,checkable=False,checked=True,mixed=True,visible=False,offscreen=False,focused=False,focusable=True,busy=False,invalid=False),), ['invisible','readonly','unavailable'])
check('contract fixture 3', solve(dict(enabled=True,readonly=True,editable=False,selectable=True,selected=False,expandable=True,expanded=True,checkable=True,checked=True,mixed=False,visible=True,offscreen=False,focused=False,focusable=False,busy=False,invalid=True),), ['checked','expanded','invalid','readonly'])
check('contract fixture 4', solve(dict(enabled=False,readonly=False,editable=True,selectable=False,selected=False,expandable=False,expanded=False,checkable=True,checked=False,mixed=False,visible=True,offscreen=True,focused=False,focusable=False,busy=True,invalid=False),), ['busy','offscreen','unavailable'])
check('contract fixture 5', solve(dict(enabled=True,readonly=True,editable=True,selectable=False,selected=False,expandable=False,expanded=False,checkable=False,checked=False,mixed=False,visible=True,offscreen=False,focused=False,focusable=False,busy=False,invalid=False),), ['readonly'])
check('contract fixture 6', solve(dict(enabled=True,readonly=False,editable=False,selectable=False,selected=False,expandable=False,expanded=False,checkable=False,checked=False,mixed=False,visible=True,offscreen=False,focused=False,focusable=False,busy=False,invalid=False),), [])
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| contract fixture 1 | ['busy', 'collapsed', 'editable', 'focused', 'mixed', 'offscreen', 'selected'] | ['busy', 'collapsed', 'editable', 'focused', 'invalid', 'mixed', 'offscreen', 'selected'] | Failed |
| contract fixture 2 | ['invisible', 'readonly', 'unavailable'] | ['invisible', 'readonly', 'unavailable'] | Passed |
| contract fixture 3 | ['checked', 'expanded', 'invalid', 'readonly'] | ['checked', 'expanded', 'invalid', 'readonly'] | Passed |
| contract fixture 4 | ['busy', 'offscreen', 'unavailable'] | ['busy', 'offscreen', 'unavailable'] | Passed |
| contract fixture 5 | ['readonly'] | ['readonly'] | Passed |
| contract fixture 6 | [] | [] | Passed |
SHA-256 / 5df87a8a60f399e25726227f565be566ccf605b1c147cd7ff1d4f57b4c95d882
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(data):
x = data
out = []
if not x['enabled']: out.append('unavailable')
if x['readonly']: out.append('readonly')
if x['editable'] and x['enabled'] and not x['readonly']: out.append('editable')
if x['selectable'] and x['selected']: out.append('selected')
if x['expandable']: out.append('expanded' if x['expanded'] else 'collapsed')
if x['checkable']:
if x['mixed']: out.append('mixed')
elif x['checked']: out.append('checked')
if not x['visible']: out.append('invisible')
if x['offscreen']: out.append('offscreen')
if x['focused']: out.append('focused')
if x['busy']: out.append('busy')
if x['invalid'] and x['editable']: out.append('invalid')
return sorted(out)
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('contract fixture 1', solve(dict(enabled=True,readonly=False,editable=True,selectable=True,selected=bool(N%2),expandable=True,expanded=False,checkable=True,checked=True,mixed=True,visible=True,offscreen=True,focused=True,focusable=False,busy=True,invalid=True),), ['busy','collapsed','editable','focused','invalid','mixed','offscreen']+(['selected'] if N%2 else []))
check('contract fixture 2', solve(dict(enabled=False,readonly=True,editable=True,selectable=False,selected=True,expandable=False,expanded=True,checkable=False,checked=True,mixed=True,visible=False,offscreen=False,focused=False,focusable=True,busy=False,invalid=False),), ['invisible','readonly','unavailable'])
check('contract fixture 3', solve(dict(enabled=True,readonly=True,editable=False,selectable=True,selected=False,expandable=True,expanded=True,checkable=True,checked=True,mixed=False,visible=True,offscreen=False,focused=False,focusable=False,busy=False,invalid=True),), ['checked','expanded','invalid','readonly'])
check('contract fixture 4', solve(dict(enabled=False,readonly=False,editable=True,selectable=False,selected=False,expandable=False,expanded=False,checkable=True,checked=False,mixed=False,visible=True,offscreen=True,focused=False,focusable=False,busy=True,invalid=False),), ['busy','offscreen','unavailable'])
check('contract fixture 5', solve(dict(enabled=True,readonly=True,editable=True,selectable=False,selected=False,expandable=False,expanded=False,checkable=False,checked=False,mixed=False,visible=True,offscreen=False,focused=False,focusable=False,busy=False,invalid=False),), ['readonly'])
check('contract fixture 6', solve(dict(enabled=True,readonly=False,editable=False,selectable=False,selected=False,expandable=False,expanded=False,checkable=False,checked=False,mixed=False,visible=True,offscreen=False,focused=False,focusable=False,busy=False,invalid=False),), [])
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| contract fixture 1 | ['busy', 'collapsed', 'editable', 'focused', 'invalid', 'mixed', 'offscreen', 'selected'] | ['busy', 'collapsed', 'editable', 'focused', 'invalid', 'mixed', 'offscreen', 'selected'] | Passed |
| contract fixture 2 | ['invisible', 'readonly', 'unavailable'] | ['invisible', 'readonly', 'unavailable'] | Passed |
| contract fixture 3 | ['checked', 'expanded', 'readonly'] | ['checked', 'expanded', 'invalid', 'readonly'] | Failed |
| contract fixture 4 | ['busy', 'offscreen', 'unavailable'] | ['busy', 'offscreen', 'unavailable'] | Passed |
| contract fixture 5 | ['readonly'] | ['readonly'] | Passed |
| contract fixture 6 | [] | [] | Passed |
SHA-256 / 6a2b1ff2e7e3c6b90e7ef2bbf449adc07da330b79dee4acfd4b2af2eef7ccec4
HELD IN THE MEMBER ARCHIVE
The verified repair and its recorded checks are member-only.
This mechanism has 6 recorded checks per implementation. The open-access tier publishes the failure and the unsuccessful fix; the repaired source that passes every check, and the observations that prove it, are available to members.
Every case sharing this mechanism uses the same contract and the same repair, so this one record is held back for all of them.
Member access is invitation-based. Sign in with your invited account to inspect the repair.
Sign in to the archive ↗Verification & scope
Stipulated finite adapter contract, not a claim of platform accessibility or ARIA conformance. This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.
Observations recorded using Python 3.12.14 at 2026-09-29T14:45:49.210739+00:00.
Case digest / 3ce1147677735e6a4e2eecc0c5dfdc1cbcb2f8d70a74ed8a7ccf00f925473de1