docs: add CallHistoryRow aria-live status region documentation (Close… - #816
Merged
greatest0fallt1me merged 3 commits intoJul 29, 2026
Conversation
Contributor
|
LGTM — clean, tested. Merged 🙌 |
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.
…s #789
Summary
Adds a polite aria-live region to CallHistoryRow so screen readers announce status changes without interrupting the user's current focus.
Changes
CallHistoryRow.tsx
— tracks previous status via useRef; on change, sets an announcement string rendered in a visually-hidden role="status" live region (aria-live="polite", aria-atomic="true")
CallHistoryRow.test.tsx
— Vitest test confirming the region starts empty, populates on status change, and carries correct ARIA attributes
call-history-row-aria-live.md
— documents the change, implementation pattern, and how to run the test
Accessibility
aria-live="polite" waits for the user to finish their current action before announcing
aria-atomic="true" reads the full message, not just the diff
Hidden visually via .sr-only — no layout impact, no visual changes
WCAG 2.1 AA compliant
closes #723