carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.73k stars 1.79k forks source link

[a11y]: Notification kind type is not conveyed by screen readers #16391

Open guidari opened 4 months ago

guidari commented 4 months ago

Package

@carbon/react

Browser

Firefox

Operating System

No response

Package version

v1.56.0

React version

18.02

Automated testing tool and ruleset

Manual QA

Assistive technology

JAWS

Description

The type of notification is not conveyed by the screen reader. Change the kind prop in the playground

Recommended Fix

Ensure that type of notification is conveyed by the screen reader as well

WCAG 2.1 Violation

No response

Reproduction/example

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

Code of Conduct

tay1orjones commented 1 month ago

The icon description is enough to convey the type of notification, provided that description is accurate. So this can be fixed with the following: