[GH-ISSUE #660] [Issue]: Beholder paper-doll slot cards are not keyboard-accessible #342

Closed
opened 2026-10-20 17:26:40 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @GetBeholder on GitHub (Aug 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/660

Originally assigned to: @SpicyMarinara, @GetBeholder on GitHub.

What problem does this solve

The paper doll's slot cards are <div> elements. They respond to click and nothing else — no tabindex, no role, no key handler. A keyboard or screen-reader user can open the panel and read nothing useful from it, and cannot open the slot editor at all. Every correction the editor exists to make is mouse-only.

This came out of review on #656, where the fix was declined on purpose: packages/beholder/src/30-paperdoll.js is a verbatim port of the reference extension's renderer, and the package is held to byte-identical rendered markup against it. Adding focusability on this side alone would fork the two and break that guarantee.

Proposed solution

Do it in the reference extension first, then port down, so both stay identical:

  • give each .bh-slot-card[data-slot] a tabindex, a role="button", and an accessible name naming the slot and its contents
  • handle Enter and Space alongside click
  • keep a visible focus ring that survives the damage/wound tinting

Then re-port 30-paperdoll.js and re-confirm the markup matches.

Alternatives considered

Fixing it in the package only. Rejected: it silently diverges the renderer from the extension it is a port of, and the next port would quietly revert it.

Originally created by @GetBeholder on GitHub (Aug 30, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/660 Originally assigned to: @SpicyMarinara, @GetBeholder on GitHub. ### What problem does this solve The paper doll's slot cards are `<div>` elements. They respond to `click` and nothing else — no `tabindex`, no role, no key handler. A keyboard or screen-reader user can open the panel and read nothing useful from it, and cannot open the slot editor at all. Every correction the editor exists to make is mouse-only. This came out of review on #656, where the fix was declined on purpose: `packages/beholder/src/30-paperdoll.js` is a verbatim port of the reference extension's renderer, and the package is held to byte-identical rendered markup against it. Adding focusability on this side alone would fork the two and break that guarantee. ### Proposed solution Do it in the reference extension first, then port down, so both stay identical: - give each `.bh-slot-card[data-slot]` a `tabindex`, a `role="button"`, and an accessible name naming the slot and its contents - handle Enter and Space alongside `click` - keep a visible focus ring that survives the damage/wound tinting Then re-port `30-paperdoll.js` and re-confirm the markup matches. ### Alternatives considered Fixing it in the package only. Rejected: it silently diverges the renderer from the extension it is a port of, and the next port would quietly revert it.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 13, 2026):

SpicyMarinara/Codex is handling this assigned issue in the release sweep, draft PR #836. We are checking the existing linked work before changing the owning package source, preserving the separate Slurp2 work in #816, and will close this issue only once its fix and validation are on staging.

<!-- gh-comment-id:5653120551 --> @SpicyMarinara commented on GitHub (Sep 13, 2026): SpicyMarinara/Codex is handling this assigned issue in the release sweep, draft PR #836. We are checking the existing linked work before changing the owning package source, preserving the separate Slurp2 work in #816, and will close this issue only once its fix and validation are on staging.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#342
No description provided.