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: fixes a11y violation in ExpandedSearch #18203

Merged
merged 5 commits into from
Dec 10, 2024
Merged

Conversation

2nikhiltom
Copy link
Contributor

Closes #18202

Correctly associate the label with the div(role=button)

Changed

aria-labelledby={onExpand ? searchId : undefined}

Removed

aria-labelledby={onExpand ? uniqueId : undefined}

Testing / Reviewing

go to storybook, open expanded search, run Accessibility Checker with latest deployment and 13Nov24 deployment
Verify no violations

@2nikhiltom 2nikhiltom requested a review from a team as a code owner December 5, 2024 12:31
Copy link

netlify bot commented Dec 5, 2024

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

Name Link
🔨 Latest commit d1823af
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-web-components/deploys/6757faa22df5fd000894a9d1
😎 Deploy Preview https://deploy-preview-18203--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 site configuration.

Copy link

netlify bot commented Dec 5, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit d1823af
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/6757faa25f11d6000827a461
😎 Deploy Preview https://deploy-preview-18203--carbon-elements.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 site configuration.

Copy link

netlify bot commented Dec 5, 2024

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit d1823af
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/6757faa2a7f2b5000822c7b4
😎 Deploy Preview https://deploy-preview-18203--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 site configuration.

Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.16%. Comparing base (8502d7a) to head (d1823af).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #18203   +/-   ##
=======================================
  Coverage   84.16%   84.16%           
=======================================
  Files         404      404           
  Lines       14350    14350           
  Branches     4599     4619   +20     
=======================================
  Hits        12077    12077           
+ Misses       2112     2111    -1     
- Partials      161      162    +1     

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

Copy link
Member

@ariellalgilmore ariellalgilmore left a comment

Choose a reason for hiding this comment

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

LGTM!

@2nikhiltom 2nikhiltom enabled auto-merge December 10, 2024 09:47
@2nikhiltom 2nikhiltom added this pull request to the merge queue Dec 10, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 10, 2024
@2nikhiltom 2nikhiltom added this pull request to the merge queue Dec 10, 2024
Merged via the queue into main with commit 9241275 Dec 10, 2024
37 checks passed
@2nikhiltom 2nikhiltom deleted the 18202_Violation_Search branch December 10, 2024 13:17
Copy link
Contributor

The content of this pull request will be made available as part of our next release. For the full schedule of upcoming releases, check out our Release Radar page.

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]: Search [Expanded] has a11y Violation - Form control with "button" role has no associated label
3 participants