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

fix(cv-combo-box): accessibility violations #1426

Open
wants to merge 3 commits into
base: vue2
Choose a base branch
from

Conversation

peterzaccha
Copy link

@peterzaccha peterzaccha commented Mar 9, 2023

Contributes to #

## What did you do?

Fix accessibility violation: nested-interactive
caused by using a listbox role on a div with two buttons

this fix inspired by the same component in the react carbon lib
https://react.carbondesignsystem.com/?path=/story/components-combobox--default

## Why did you do it?

How have you tested it?

Were docs updated if needed?

  • N/A
  • No
  • Yes

Copy link
Collaborator

@davidnixon davidnixon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. It matches what in react storybook

Do you have a before & after screenshot of the accessibility violations?

@davidnixon davidnixon added the Vue2 issue with Vue 2 components label Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Vue2 issue with Vue 2 components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants