Repository navigation
a11y: real time test progress is not announced to screen readers #205
Description
Activity
Thanks for reporting this. I agree, just noting that this change will require thorough testing with actual screen readers. In particular I'm wondering if
politeis still going to cause too many announcements. Is 10s enough time for multiple announcements? Could a simple "Test running, please wait"/"Download test completed, now running upload test" work better in this case?Reacted by M.V.RAGHUPATHI SAIM-V-RAGHUPATHI-SAI commented
on Mar 2, 2026 ContributorAuthorMore actionsThanks for the feedback, that's actually a great point,
politewill likely queue up all the speed updates and may not finish it in 10s and users may feel like overload. i agree with your approach is a better UX, announcing only the changes gives them context about what's going on.We can use
aria-liveonly for phase changes like you mentioned, I plan to match our existing caching pattern, i am thinking to add a hidden aria-live region in the HTML, and update its content using i18n whenever the test phase changes.We can keep it simple and at the start "test started" and at the end we can say "test completed", we can go complex and mention "download started" or "upload started", because we have to cover this in 10s, i am thinking to go simpler what do you think?
I will test the final flow locally with NVDA to make sure it sounds natural and report back once we finalized the flow.
M-V-RAGHUPATHI-SAI commented
on Mar 3, 2026 ContributorAuthorMore actions"Test started", "Download test completed, now running upload test", and finally "test completed" also sounds fine to me. what do you think??
Also i have read that
visibility: hiddencompletely hides the element from screen readers. so, in accordance with WCAG guidelines, i found this CSS for visually hiding content while keeping it accessible to screen readers, which makes the text to 1px box:.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }"Test started", "Download test completed, now running upload test", and finally "test completed" also sounds fine to me. what do you think??
Once we are confirmed with this, i will start working on the PR.
M-V-RAGHUPATHI-SAI commented
on Mar 3, 2026 ContributorAuthorMore actionscan i work on this issue after the GSoC deadline??
For transparency: we have dropped out of GSoC 2026. Contributions are still welcome, but please know that we won't be able to actively mentor contributors and our availability to review will be limited.
"Test started", "Download test completed, now running upload test", and finally "test completed" also sounds fine to me.
That sounds good to me, too.
M-V-RAGHUPATHI-SAI commented
on Mar 4, 2026 ContributorAuthorMore actionsFirst of all, thanks for the guidance till now @robertodauria.
Though M-Lab has dropped from GSoC 2026, i would still love to work with M-lab, as they have mentioned in the mail to contribute after gsoc deadline, i will be coming back to work on this issue after the deadline.
Reacted by Roberto D'Auria
Description
The dynamic speed updates currently lack aria live region, preventing them from being announced to assistive technologies as required by WCAG.
Solution
I can fix this by adding
aria-live="polite"to the progress-label class.