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]: MultiSelect - Accesibility checker reports an issue with nested buttons for selected options #13345

Closed
2 tasks done
matas-at-ibm opened this issue Mar 14, 2023 · 1 comment

Comments

@matas-at-ibm
Copy link

Package

carbon-components-react

Browser

Chrome, Firefox

Operating System

MacOS

Package version

v7.59.4

React version

v17.0.2

Automated testing tool and ruleset

IBM Equal Access Accessibility Checker - Latest Deployment

Assistive technology

No response

Description

The list box component is a button, and the tag component (a descendant of the list box) that allows the clearance of selected options is also a button which causes the nested button issue(4.1.2)
image

WCAG 2.1 Violation

4.1.2

Reproduction/example

https://stackblitz.com/edit/github-verpba?file=src/App.jsx

Steps to reproduce

  1. Visit carbon dropdown usage examples:
  2. Select MultiSelect variant in the example
  3. Select a couple of options inside the multi-select input
  4. Run the IBM Equal Access Accessibility Checker scan

Code of Conduct

@tw15egan
Copy link
Collaborator

This is resolved with #13173, which was merged recently. It will be included in @carbon/[email protected] which will be released in the next week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants