Skip to content

fix: gate aria-live announcements on chart focus#663

Closed
sverg-cb wants to merge 4 commits intomasterfrom
sverg/cds-1972
Closed

fix: gate aria-live announcements on chart focus#663
sverg-cb wants to merge 4 commits intomasterfrom
sverg/cds-1972

Conversation

@sverg-cb
Copy link
Copy Markdown
Contributor

@sverg-cb sverg-cb commented May 4, 2026

Scrubber's aria-live region now switches between 'polite' and 'off' based on whether the chart SVG has DOM focus, preventing screen readers from announcing value changes when the user is elsewhere on the page. Also changes the default accessibilityLiveRegion from 'polite' to 'none' on both web and mobile CartesianChart, and removes the static aria-live attribute from the web SVG element.

What changed? Why?

Root cause (required for bugfixes)

UI changes

iOS Old iOS New
old screenshot new screenshot
Android Old Android New
old screenshot new screenshot
Web Old Web New
old screenshot new screenshot

Testing

How has it been tested?

  • Unit tests
  • Interaction tests
  • Pseudo State tests
  • Manual - Web
  • Manual - Android (Emulator / Device)
  • Manual - iOS (Emulator / Device)

Testing instructions

Illustrations/Icons Checklist

Required if this PR changes files under packages/illustrations/** or packages/icons/**

  • verified visreg changes with Terran (include link to visreg run/approval)
  • all illustration/icons names have been reviewed by Dom and/or Terran

Change management

type=routine
risk=low
impact=sev5

automerge=false

Scrubber's aria-live region now switches between 'polite' and 'off'
based on whether the chart SVG has DOM focus, preventing screen readers
from announcing value changes when the user is elsewhere on the page.
Also changes the default accessibilityLiveRegion from 'polite' to 'none'
on both web and mobile CartesianChart, and removes the static aria-live
attribute from the web SVG element.

Co-authored-by: Cursor <cursoragent@cursor.com>
@linear
Copy link
Copy Markdown

linear Bot commented May 4, 2026

@cb-heimdall
Copy link
Copy Markdown
Collaborator

cb-heimdall commented May 4, 2026

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 1
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1
CODEOWNERS 🟡 See below

🟡 CODEOWNERS

Code Owner Status Calculation
ui-systems-eng-team 🟡 0/1
Denominator calculation
Additional CODEOWNERS Requirement
Show calculation
Sum 0
0
From CODEOWNERS 1
Sum 1

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

@sverg-cb sverg-cb closed this May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants