Skip to content

Tell screen readers to not announce the whole content everytime it changes #280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2025

Conversation

DataTriny
Copy link
Contributor

Setting aria-live="polite" on an element means that screen readers will announce its content whenever it changes, as soon as the user is done reading text anywhere in the page. Since a terminal recording will generate constant updates, this make it very hard to consult a web page if the player is running, especially if it is starting automatically on page load.

The use case which led me here is Serpent OS's landing page.

@ku1ik
Copy link
Contributor

ku1ik commented May 6, 2025

Got it, I think this makes sense. Thanks!

@ku1ik ku1ik merged commit 3a62401 into asciinema:develop May 6, 2025
@DataTriny DataTriny deleted the aria-live branch May 6, 2025 20:06
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.

2 participants