GeezerVison is showing github.com — 🎨 Palette: Give Bedside & Away dialogs accessible names by dezren39 · Pull Request #14992 · developing-today/code
Conversation
dezren39
commented
Nov 25, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
💡 What: Associate the shared dialog with its current visible heading, including the separate backup-restore path.
-<dialog id="modal">
+<dialog id="modal" aria-labelledby="dialog-title">
- <h2>Current action</h2>
+ <h2 id="dialog-title">Current action</h2>
🎯 Why / ♿ Accessibility: Screen-reader users need the dialog's purpose announced, not just an unnamed modal. Existing native dialog keyboard behavior and styles are unchanged.
Closes #14990.
Evidence
- Before: Both dialog writers emitted headings without a programmatic association to the dialog.
- After: Regression coverage invokes real shared-dialog rendering with two successive titles and the backup-restore path; each supplies the referenced heading.
pnpm test: all 25 test files passed, including the new assertions.
node --check public/app.js, node --check scripts/check.mjs, git diff --check: passed.
pnpm run lint: unavailable (this package defines no lint script); syntax checks used instead.
- 📸 Before/After: no visual change; no screenshots needed. Browser keyboard/screen-reader checks were not run.
Merge Danger
Door: two-way
Blast Radius: dialogs
High confidence in this low-risk semantic change. Left open for review; a browser/screen-reader check should confirm that opening normal and backup dialogs announces their visible titles. No dependencies, layout, or backend changes.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-25T09:39:43Z",
"session_id": "ses_e5dedf113bbffeR4DFfKlUmC8J",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/fleet/dispatch-code-23762",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/fleet/dispatch-code-23762",
"repo": "developing-today/code",
"branch": "palette/23762-dialog-names",
"sha": "1eddb85e36db28ea53fac470f6b6ba1f963b12e1"
},
"auth_subject": "code-h",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by CodeRabbit
- Accessibility
- Dialogs now have an accessible title, helping assistive technologies identify their content.
- Tests
- Added checks for dialog titles and modal open and close behavior.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 25, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Walkthrough
-
The dialog now references its title heading with aria-labelledby. The dialog helper and restore dialog assign the referenced ID to their headings. Tests verify the reference and rendered heading text.
Changes: Dialog title labeling
| Layer / File(s) |
Summary |
Dialog title association pkgs/bedside-and-away/public/index.html, pkgs/bedside-and-away/public/app.js, pkgs/bedside-and-away/scripts/check.mjs |
The dialog references dialog-title. The dialog helper and restore flow assign that ID to their headings. Tests check the reference and heading text. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Suggested reviewers: claude
Merge Risk: Minimal · up to a145b
-
This change names the dialog from its visible heading so screen-reader users hear the dialog title. It is small, reversible and does not alter keyboard behavior or styles. No merge-blocking risk was found; a manual screen-reader check remains optional.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Description Check |
 |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
 |
The title names the main change: the Bedside & Away dialogs get accessible names. The change adds aria-labelledby="dialog-title" to the shared modal and assigns the matching ID to its visible heading,… |
| Linked Issues check |
 |
Issue #14990 is the only directly linked active issue. Its coding requirement is one small, accessibility-focused UX improvement, kept under 50 lines, with existing tests run. The PR meets this requir… |
| Out of Scope Changes check |
 |
All changed hunks serve the single accessibility objective. The index.html change adds the labelling attribute to the modal dialog. The app.js changes add the matching id to the heading in both dialog… |
Full details: Title check
-
Explanation
The title names the main change: the Bedside & Away dialogs get accessible names. The change adds aria-labelledby="dialog-title" to the shared modal and assigns the matching ID to its visible heading, and it also covers the backup-restore dialog. The emoji prefix is noise, but the title still describes the primary change accurately and specifically.
Full details: Linked Issues check
-
Explanation
Issue #14990 is the only directly linked active issue. Its coding requirement is one small, accessibility-focused UX improvement, kept under 50 lines, with existing tests run. The PR meets this requirement. It adds aria-labelledby="dialog-title" to the shared dialog in public/index.html (+1/-1). It gives the current visible heading the matching id in the dlg path and the backup-restore heading in public/app.js (+2/-2). The PR changes about 13 lines in total, within the 50-line limit. check.mjs adds regression assertions for the shared dialog title and the restore heading. The PR description reports pnpm test passing (25 files). The issue acceptance criteria concern recording the scheduled run outcome on the issue, reporting run failures, and avoiding duplicate open runs. These are administrative and non-coding, so they do not apply to this PR. Browser and screen-reader verification was not run. This is a manual check, not a coding requirement. The summary shows no coding change that contradicts the issue.
Full details: Out of Scope Changes check
-
Explanation
All changed hunks serve the single accessibility objective. The index.html change adds the labelling attribute to the modal dialog. The app.js changes add the matching id to the heading in both dialog writers. The check.mjs changes are supporting tests. They mock showModal and close, and they assert that the modal references dialog-title and that the headings carry that id. No backend, dependency, layout, or styling change appears in the summary. The PR description states that native keyboard behavior and styles are unchanged. No unrelated change is demonstrated.
Finishing Touches
-
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
Recent review info
-
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
0cd9163c-a288-48c6-adde-ac74f7e2bbbf
Commits
-
Reviewing files that changed from the base of the PR and between 192bf78 and a145b6b.
Files selected for processing: 3
-
pkgs/bedside-and-away/public/app.js
pkgs/bedside-and-away/public/index.html
pkgs/bedside-and-away/scripts/check.mjs
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
1952-H shepherd verification (bravo SUSTAIN, standing merge authority): Diff read firsthand (3 files, +13/-4, head a145b6b): index.html dialog gains aria-labelledby="dialog-title"; app.js dlg() and restore() headings gain id="dialog-title"; check.mjs gains regression asserts invoking real dlg() with two successive titles plus restore(), and an index.html match. No submitted reviews; CodeRabbit summary only, no actionable comments; status rollup SUCCESS/SKIPPED only. Body evidence: pnpm test 25 files passed, node --check passed. Fresh state OPEN non-draft CLEAN/MERGEABLE. Merging with merge commit; closes #14990 via closing keyword.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|