Skip to content

fix(ui): tune Toast live region semantics#92

Merged
wyf027 merged 3 commits into
mainfrom
codex/toast-live-region-2026-07-08
Jul 7, 2026
Merged

fix(ui): tune Toast live region semantics#92
wyf027 merged 3 commits into
mainfrom
codex/toast-live-region-2026-07-08

Conversation

@wyf027

@wyf027 wyf027 commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Align Toast live-region semantics with Notification: non-error statuses use role="status"/polite updates, while status="error" defaults to role="alert".
  • Allow callers to override Toast role and aria-live when a message needs custom urgency.
  • Document the accessibility behavior and update the VitePress example to use Tailwind layout classes.

Validation

  • GitHub Actions CI run 28900440301 passed for commit fbb07be660fde61cc7818b75e462b9291b079fa4.
  • CI quality job passed: Install, Lint UI, Typecheck UI, Test UI, Build UI, Build docs.
  • Local npm run lint:ui, npm run typecheck:ui, npm run test:ui, and npm run build could not be executed because the local shell runner failed to create a process in this Codex environment.

@ecc-tools

ecc-tools Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR.

@wyf027
wyf027 merged commit c0023fb into main Jul 7, 2026
1 check passed
@wyf027
wyf027 deleted the codex/toast-live-region-2026-07-08 branch July 7, 2026 23:11
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.

1 participant