Skip to content

shell: a line of a meeting that plays is no button around buttons — its time plays it (#1409, D131) - #1411

Open
kitokey-lina[bot] wants to merge 7 commits into
mainfrom
d131-a-line-plays-from-its-time
Open

kitokey-lina[bot] wants to merge 7 commits into
mainfrom
d131-a-line-plays-from-its-time

Conversation

@kitokey-lina

@kitokey-lina kitokey-lina Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

For the decider, in one sentence: on a meeting that plays, a transcript line is no longer one big button that contains other buttons. Its time (« 00:03 ») is now the button that plays from it, so a screen reader reaches the pencil, and #1406's speaker button can sit on the line.

flowchart LR
    subgraph main["On main"]
      L0["li role=button<br/>(plays, in Tab's order)"]:::old --> P0["pencil (button)"]:::bad
    end
    subgraph here["Here"]
      L1["li (a click still plays)"]:::new --> T1["time: button<br/>« Écouter à partir de 00:03 »<br/>in Tab's order, ↑↓"]:::new
      L1 --> P1["pencil (button)<br/>follows its time"]:::new
    end
Loading

Legend: grey is the line on main; red is the button axe finds nested inside another; green is new in this pull request.

Module

shell, exactly one: ui/window.js, ui/window.css, scripts/e2e_window.py.

  • This pull request touches a single module

Deliverable

Deliverable: D131

Closes #1409. The coordinator decided on 2026-11-30 that this goes before #1406 (D131a). On main, a line of a meeting that plays is role=button (D26) and contains the pencil (D62). #1406 adds a third button to the line, the speaker. axe found nested-interactive ×4, list ×1 and target-size ×1 in #1406's run at 4cd0dfa. The coordinator refused to shrink an accessibility oracle to get it through. This pull request removes the cause, and #1406 is rebased on it.

What it changes

Where On main Here
A line, meeting that plays li role="button", one in Tab's order, Enter or Space plays from it a plain li, out of Tab's order. A click anywhere on it still plays from it (D26)
Its time text (span.at) a button.at that looks the same. Its accessible name is « Écouter à partir de 00:03 » (time_listen, D75's own words). One line's time is in Tab's order, ↑/↓ move to the next shown line, Enter or Space plays. Enter held down plays once
Its pencil (D62) follows the line in Tab's order follows the line's time
A summary's time (D75), under 1400 px focus on the line focus on the line's time
A search result opened at its line (#1400, DG) focus on the line focus on the line's time (cdfdf9a, after merging main)
Meeting that does not play span.at, no role unchanged
Focus ring .lines li:focus-visible the button's own button:focus-visible (3 px, --accent). The li rule is removed, since nothing focuses the line any more

Convention. WAI-ARIA 1.2 makes a button's children presentational (https://www.w3.org/TR/wai-aria-1.2/#button, « Children Presentational: True »). A screen reader therefore announces the line as a single button, and the pencil inside it is not reliably reached. axe's nested-interactive rule flags exactly this (https://dequeuniversity.com/rules/axe/4.10/nested-interactive). The fix follows the composite-widget pattern of the WAI-ARIA APG: one control per line in Tab's order, the arrows between lines, and the line's other controls as siblings.

Market: players that seek from a transcript put the seek on the line's time or on its words, never on a line-wide button. I name no product here: the issue and the first commit message say « as Otter and Granola ». Granola keeps no audio, so that claim is wrong for it. Otter's behaviour has not been checked today.

Left out:

Oracle

Kind of oracle: the window's e2e, DK (lines_play_from_their_time). Its axe check covers the whole page with no rule left out.

Verifier

ines (coordinator, 2026-11-30), after her fix of #1400. Merge order: after #1333, then #1406.

Review budget

  • nstack pr-scope: 163 lines of 800, 3 files of 15, at cdfdf9a.

Test sheet

# Given · when · then Kind Result Evidence Commit Confirmed
L1 Given a meeting that plays with a complete transcript, when its page is drawn, then each line's time is a button named « Écouter à partir de » that time, the first alone in Tab's order with its pencil, and the line itself has no role and is out of Tab's order automated
L2 Given that page, when axe (WCAG 2.2 A and AA) runs on it, then it finds no violation automated
L3 Given the first line's time focused, when ↓ then Enter are pressed, then the next line's time takes the focus, it and its pencil alone in Tab's order, and the meeting plays from that line with the focus staying on it; Tab then reaches its pencil automated
L4 Given that page, when a line's words are clicked, then the meeting plays from that line and its time becomes the one in Tab's order automated
L5 Given a summary's time (D75), a search hiding the line in Tab's order, and a correction (D62), when minutes_checked, meeting_tabs, transcript_corrected and corrections_gated run, then they pass automated
L6 Given the running window at 1100 and 420 px, light and dark, when the line in Tab's order takes the keyboard focus, then the ring shows on its time and nothing moves at rest compared with main (DK's shots dk-line-focused-*) explored
L7 Given Orca on that page, when Tab reaches a line, then it reads « Écouter à partir de 00:03, bouton », then the line's pencil human only — no screen reader runs in the sandbox

Summary

DONE

  • The line of a meeting that plays loses role=button. Its time becomes the button that plays from it, with the pencil following it.
  • The D26, D75 and DE checks read the time button. A new scenario, DK, holds the change, and its axe check covers the whole page.

VERIFIED

  • Red at e24dde4: DK 5 FAIL out of 6, axe nested-interactive ×4 and list ×1.
  • Green at cdfdf9a: DK, DG, D62 ×2, D75, DE, 203 ok, 0 FAIL; DK's axe on the whole page, no violation.

ASSUMED

  • Nothing focuses a line by itself, apart from the code changed here (a search of window.js for lines li, role=button and tabIndex).

NOT VERIFIED

  • Scenario R (D26) runs only in a full run (the attest). Its checks were adapted to the time button.
  • Orca: no screen reader runs here (L7, human only).

RISKS

  • A line no longer takes the focus. The keyboard reaches it through its time, so anyone used to Tab landing on the whole line now lands on « 00:03 ». The click on the line is unchanged.

🤖 Generated with Claude Code

kitokey-lina Bot and others added 4 commits November 30, 2026 17:13
… buttons, its time plays from it (red)

A new scenario, lines_play_from_their_time: each line's time a button named « Écouter à partir de »,
one in Tab's order with its pencil, ↓ moves it, Enter plays from it, Tab reaches its pencil, a click
on the words still plays; axe on the page, no violation.

Agent-Session: 4dbd79e9-5788-40c1-9bce-4a83655185b7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ts time plays it (#1409, D26, D62)

The line loses role=button and its place in Tab's order; its time becomes the button that plays from
it, named « Écouter à partir de 00:03 » (time_listen, D75's own words), as Otter and Granola put play on
the timestamp. One line's time in the order of Tab, the arrows moving it, its pencil following it; a
click anywhere on the line still plays from it. A summary's time takes the focus to that line's time.
The checks of D26, D75 and DE read the time button instead of the line.

Agent-Session: 4dbd79e9-5788-40c1-9bce-4a83655185b7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, both themes — before and after

Agent-Session: 4dbd79e9-5788-40c1-9bce-4a83655185b7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eft unchecked

Agent-Session: 4dbd79e9-5788-40c1-9bce-4a83655185b7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kitokey-lina Bot and others added 3 commits November 30, 2026 21:50
…own stop now

transcript_corrected focused the line itself before Tab; a line is no longer focusable, so the focus
stayed on the page (green run at 5d13a65: 2 FAIL, then a raise on activeElement.select).

Agent-Session: 4dbd79e9-5788-40c1-9bce-4a83655185b7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: 4dbd79e9-5788-40c1-9bce-4a83655185b7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e line's own stop now

#1400 focused the line when it was in Tab's order (role=button); a line is no longer focusable, so
its time takes the focus, else the transcript's panel, as a summary's time does.

Agent-Session: 4dbd79e9-5788-40c1-9bce-4a83655185b7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kitokey-lina
kitokey-lina Bot marked this pull request as ready for review December 1, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

shell: a line of a playing transcript is a button holding buttons — its time plays it instead (D26, D62, axe nested-interactive)

0 participants