Skip to content

fix(multi-select): adjust AI label spacing when clear button appears #19450

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

Conversation

warrenmblood
Copy link
Contributor

Closes #19297

Fixes overlapping buttons WCAG 2.5.8 issue in Multi Select filterable with AI label variation. Added styling on AI label that creates spacing and vertical divider matching the React version when clear button is present

New spacing:
Screenshot 2025-05-20 at 5 06 21 PM

Changelog

New

  • Styling for spacing and adding vertical divider when clear button is present

Testing / Reviewing

  • Check that button spacing matches React version when typing into input field of Multi Select with AI label and filterable="true"

PR Checklist

As the author of this PR, before marking ready for review, confirm you:

  • Reviewed every line of the diff
  • Updated documentation and storybook examples
  • Wrote passing tests that cover this change
  • Addressed any impact on accessibility (a11y)
  • Tested for cross-browser consistency
  • Validated that this code is ready for review and status checks should pass

More details can be found in the pull request guide

Copy link

netlify bot commented May 20, 2025

Deploy Preview for v11-carbon-web-components ready!

Name Link
🔨 Latest commit b3966e7
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-web-components/deploys/6830a580d1bfe60008ab1525
😎 Deploy Preview https://deploy-preview-19450--v11-carbon-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented May 20, 2025

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit b3966e7
🔍 Latest deploy log https://app.netlify.com/projects/v11-carbon-react/deploys/6830a5804f466800085c49db
😎 Deploy Preview https://deploy-preview-19450--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

codecov bot commented May 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.87%. Comparing base (d21155c) to head (b3966e7).
Report is 19 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19450      +/-   ##
==========================================
- Coverage   84.88%   84.87%   -0.01%     
==========================================
  Files         372      372              
  Lines       14453    14438      -15     
  Branches     4705     4757      +52     
==========================================
- Hits        12268    12254      -14     
+ Misses       2039     2037       -2     
- Partials      146      147       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@warrenmblood warrenmblood requested a review from annawen1 May 23, 2025 16:49
@heloiselui heloiselui added this pull request to the merge queue May 26, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 26, 2025
@heloiselui heloiselui added this pull request to the merge queue May 26, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 26, 2025
@heloiselui heloiselui added this pull request to the merge queue May 26, 2025
Merged via the queue into carbon-design-system:main with commit d91dd77 May 26, 2025
37 checks passed
AlexanderMelox pushed a commit to AlexanderMelox/carbon that referenced this pull request Jun 10, 2025
…arbon-design-system#19450)

* fix(multi-select): adjust AI label spacing when clear button appears

* Use spacing token for block-size

Co-authored-by: Anna Wen <[email protected]>

---------

Co-authored-by: Anna Wen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[a11y]: Filterable MultiSelect overlapping buttons
3 participants