Skip to content

docs: add CallHistoryRow aria-live status region documentation (Close… - #816

Merged
greatest0fallt1me merged 3 commits into
CalloraOrg:mainfrom
Fayedamz:feature/723-callhistoryrow-aria-live-status
Jul 29, 2026
Merged

docs: add CallHistoryRow aria-live status region documentation (Close…#816
greatest0fallt1me merged 3 commits into
CalloraOrg:mainfrom
Fayedamz:feature/723-callhistoryrow-aria-live-status

Conversation

@Fayedamz

Copy link
Copy Markdown
Contributor

…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

@greatest0fallt1me
greatest0fallt1me merged commit 0928063 into CalloraOrg:main Jul 29, 2026
3 checks passed
@greatest0fallt1me

Copy link
Copy Markdown
Contributor

LGTM — clean, tested. Merged 🙌

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.

Add aria-live region for CallHistoryRow status updates [b#046]

2 participants