Skip to content
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

[a11y]: Loading- Notifying Screen Reader Users when "loading" is completed #16415

Open
2 tasks done
2nikhiltom opened this issue May 10, 2024 · 2 comments
Open
2 tasks done

Comments

@2nikhiltom
Copy link
Contributor

2nikhiltom commented May 10, 2024

Package

@carbon/react

Browser

No response

Operating System

No response

Package version

v1.56.0

React version

18.02

Automated testing tool and ruleset

Manual QA

Assistive technology

JAWS

Description

When the active prop is false, Visually loading symbol disappears but SR still announcing as "Loading".

Screen.Recording.2024-05-10.at.12.32.33.mov

WCAG 2.1 Violation

No response

Reproduction/example

https://react.carbondesignsystem.com/?path=/story/components-loading--playground

Recommend Fix

below are two approaches

  • The loader should have aria-busy set to false when it is set as false
  • For screen reader users, it's helpful to provide an "Loading complete" aria-status message when the spinning wheel disappears. This notifies them when the page is ready, saving them from continuously checking its status.

Code of Conduct

Copy link
Contributor

Thank you for submitting a feature request. Your proposal is open and will soon be triaged by the Carbon team.

If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request you or other volunteers from the community to work on this issue.

@2nikhiltom 2nikhiltom changed the title [a11y]: Loading- SR announcing "Loading" when "active" is false but visually loading symbol disappears [a11y]: Loading- Notifying Screen Reader Users when "loading" is completed May 13, 2024
@tay1orjones
Copy link
Member

The second approach could be something like this

<span className={`${prefix}--text-area__counter-alert`} role="alert">
{ariaAnnouncement}
</span>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ⏱ Backlog
Status: Triage
Development

No branches or pull requests

2 participants