Skip to content

fix(go): announce rive popover copy for screen readers - #908

Merged
pim-at-stink merged 1 commit into
go-v2/mainfrom
go-v2/fix/rive-a11y
Apr 10, 2026
Merged

fix(go): announce rive popover copy for screen readers#908
pim-at-stink merged 1 commit into
go-v2/mainfrom
go-v2/fix/rive-a11y

Conversation

@pim-at-stink

Copy link
Copy Markdown
Collaborator

No description provided.

Comment on lines +85 to +87
<span aria-live="assertive" className="visually-hidden">
{isVisible ? hero?.text : ''}
</span>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pim-at-stink sorry to barge in but I randomly spotted this PR and wanted to ask- would it be helpful to you if we had a more "global" aria live region that you could just send a message to when isVisible changes? I can definitely work to set that up if so.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! super helpful thank you - I saw the PR. We are going to merge this for now, and we will do a follow-up PR soon to make use of the new system

dominoweir added a commit that referenced this pull request Apr 8, 2026
Currently announces just the step description and thoughts if present,
but this is wired up such that individual visualizers can push messages
to the region too (adding @pim-at-stink since this might be a smoother
experience than a second live region in #908 and I want to make sure
what I'm doing is helpful)
@pim-at-stink
pim-at-stink merged commit f5f88c8 into go-v2/main Apr 10, 2026
3 checks passed
@pim-at-stink
pim-at-stink deleted the go-v2/fix/rive-a11y branch April 10, 2026 09:46
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.

3 participants