[Component Audit] ChatComposerDrawer: keep hidden attachments out of keyboard reach - #6416
Merged
cixzhang merged 1 commit intoSep 21, 2026
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
cixzhang
requested review from
imdreamrunner and
josephfarina
as code owners
September 21, 2026 10:15
|
AI review status for this pull request.
|
cixzhang
force-pushed
the
night-watch-component-audit/ChatComposerDrawer/2026-09-21
branch
from
September 21, 2026 10:39
57e1b88 to
38b1c38
Compare
cixzhang
force-pushed
the
night-watch-component-audit/ChatComposerDrawer/2026-09-21
branch
from
September 21, 2026 10:42
38b1c38 to
2a895f1
Compare
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR No new or modified components detected. Bundle Size Summary
Accessibility AuditStatus: 36 accessibility violation(s) found — 2 critical, 34 serious. Button pattern - 1 issue(s)
ChatComposer - 1 issue(s)
ChatComposerInput - 1 issue(s)
ChatReasoning - 1 issue(s)
ChatToolCalls - 1 issue(s)
Checkbox pattern - 1 issue(s)
CheckboxList - 1 issue(s)
ClickableCard - 1 issue(s)
CodeEditor - 1 issue(s)
CodeEditorPerf - 1 issue(s)
CodeEditorTheme - 1 issue(s)
CodeTheme - 1 issue(s)
DateRangeInput - 1 issue(s)
FileInput - 1 issue(s)
GridMasonry - 1 issue(s)
Heading - 1 issue(s)
Icon - 1 issue(s)
LogStream - 1 issue(s)
MediaTheme Auto - 1 issue(s)
PowerSearch - 1 issue(s)
ProgressBar - 1 issue(s)
Radio group pattern - 1 issue(s)
RadioList - 1 issue(s)
RichTextEditor - 2 issue(s)
SelectableCard - 1 issue(s)
Stepper - 1 issue(s)
TableGroupedRows - 1 issue(s)
TableTree - 1 issue(s)
Text - 1 issue(s)
Theme - 1 issue(s)
PopArt - 1 issue(s)
Thumbnail - 1 issue(s)
Timestamp - 1 issue(s)
Token - 1 issue(s)
Tokenizer - 1 issue(s)
Visual RegressionStatus: No visual change across 2 compared shot(s). Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
3 tasks
github-actions
Bot
deleted the
night-watch-component-audit/ChatComposerDrawer/2026-09-21
branch
September 22, 2026 06:23
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
User impact
This audit keeps people using a keyboard or screen reader out of visually hidden attachment actions after the composer drawer collapses, and gives the disclosure control the shared visible keyboard focus indicator.
No public API, default, child composition, or collapsed-summary design changes. The separate visual proposal in #5399 remains untouched.
Audit identity
@astryxdesign/core/Chat6298680a9002c6db7669a49eb0e461bf13707a052a895f1f2c8b5ee05cfe03f54ea52b1e0daff3751.16.6Scorecard
Baseline: 72.3/100 (C), 3 BLOCKs, §5b not measured
After local remediation: 88.5/100 (B), 0 BLOCKs, §5b not measured
Projected after complete exact-head rendered evidence: 89.0/100 (B), 0 BLOCKs
Closed FR5 public-surface inventory
12/12 rows accounted; 0 unaccounted public surfaces.
./Chatexport andChatComposerDrawerPropschildrenand arbitrary child compositioncountomittedisCollapsedremains authoritative.aria-expanded+aria-controlsKeyboardFocusplay fixture.chat-composer-drawertarget and collapsed axisObjective authority and changes
architecture:interaction-modalityINV1–INV4 and INV9: the disclosure remains the semantic focus owner and now paints the shared keyboard focus indicator.architecture:knowledge-contractsINV11/INV16 andspec:AST-029: the draft contract records shipped behavior and the objective restoration without deciding the separate collapsed-summary visual question.Red → green evidence
inert; focusable children remained reachable while the row was visually collapsed.noneoutline.children.Local verification
Needs Review
No new product decision is required for this repair. The existing count-badge versus plain-text visual proposal remains owned by #5399 and is deliberately outside this PR.
Exact-head gates
Exact-head CI, Storybook plays, accessibility, RTL, rendered evidence, visual acceptance, spec-owner reconciliation, and the independent private review all passed. The owner-exempt
review-requiredstatus was emitted by GitHub Actions App 15368.Final result
20777236fb41228ea370c3af52c11167ea1433f35dca49ea8afd9228d33a62810e475992f0a18c32