carbon-design-system / carbon

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

[a11y]: FileUploaderItem has critical violation: The tabbable element's role 'img, graphics-document' is not a widget role #13087

Closed cvikram21 closed 1 year ago

cvikram21 commented 1 year ago

Package

carbon-components, carbon-components-react

Browser

Firefox

Operating System

MacOS

Package version

7.57.4

React version

17.0.2

Automated testing tool and ruleset

IBM Equal Access Accessibility Checker: Latest Deployment

Assistive technology

No response

Description

The FileUploaderItem when its status is complete has a critical a11y violation found as part of the testing of our product. It can be reproducible in v10 storybook.

Screenshot from v10 storybook

image

WCAG 2.1 Violation

No response

Reproduction/example

Carbon storybook: https://v10.carbondesignsystem.com/components/file-uploader/usage

Steps to reproduce

  1. On the v10 storybook for FileUploader, change the variant to upload states.
  2. Select the status to complete.
  3. Run the IBM Equal Access Accessibility Checker. The scan results will show the critical violation mentioned above.

Code of Conduct

sstrubberg commented 1 year ago

Hey @cvikram21, thanks for drumming up the issue. Would you be open to making a repro against our v10 storybook? Closing for now, thanks again!