You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7750024
Browse filesBrowse the repository at this point in the historyBrowse files
fix(web): give the toolbar semantics and announce silent state changes
The six formatting controls were an unlabelled div of buttons named "B",
"I", "Link" — meaningless out of visual context — and six consecutive tab
stops between the label and the textarea. They are now a labelled toolbar
with one tab stop and arrow-key movement (ARIA APG). Each accessible name
is a superset of its visible label so speech input still works.
Four places changed state with nothing announced:
- ProjectDetail's "Copy link" and "Share to Slack" gave no feedback at all,
to anyone — the clipboard write was the entire interaction. They now raise
a sonner toast, which the modals this screen already renders use for the
same purpose, and surface a failed clipboard write instead of swallowing it.
- Sponsor's "Copy email" signals success by renaming itself, and a control's
own name changing is not announced. An sr-only live region mirrors it.
- ProfileEdit's "Uploading…" appeared and vanished silently; it is now a
status region that persists across both states so it can announce.
- ConnectGitHubBanner was role="region", which is a landmark: it is only
reachable by going looking for it. The banner renders after auth resolves,
i.e. after first paint, so it needs role="status" to be heard at all.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments