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(Emptystate): accessibility violation #6605

Merged

Conversation

anamikaanu96
Copy link
Contributor

@anamikaanu96 anamikaanu96 commented Dec 18, 2024

Closes #6352

Solutions for empty state accessibility violations
solution for issue 1 : Heading is now composable , introduced a new prop called headingAs for setting the value of as.
solution issue 2 : since the images are decorative, they have been hidden from assistive technology.

I had a discussion with Amal today regarding the conversation in the engineering huddle. We concluded that more appropriate solution will be using as prop rather than using <Heading> without deprecating size prop.

What did you change? All EmptyState files

How did you test and verify your work? storybook and Jaws

@anamikaanu96 anamikaanu96 requested a review from a team as a code owner December 18, 2024 10:36
@anamikaanu96 anamikaanu96 requested review from elycheea and amal-k-joy and removed request for a team December 18, 2024 10:36
Copy link

netlify bot commented Dec 18, 2024

Deploy Preview for carbon-for-ibm-products ready!

Name Link
🔨 Latest commit 8c0af07
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/6769096ef051c900080102be
😎 Deploy Preview https://deploy-preview-6605--carbon-for-ibm-products.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 18, 2024

Deploy Preview for ibm-products-web-components ready!

Name Link
🔨 Latest commit 8c0af07
🔍 Latest deploy log https://app.netlify.com/sites/ibm-products-web-components/deploys/6769096eb2610d0008f5741f
😎 Deploy Preview https://deploy-preview-6605--ibm-products-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

codecov bot commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.78%. Comparing base (03c31fc) to head (8c0af07).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6605      +/-   ##
==========================================
+ Coverage   80.76%   80.78%   +0.01%     
==========================================
  Files         396      396              
  Lines       12885    12893       +8     
  Branches     4267     4274       +7     
==========================================
+ Hits        10407    10416       +9     
+ Misses       2478     2477       -1     
Components Coverage Δ
ibm-products ∅ <ø> (∅)
ibm-products-web-components ∅ <ø> (∅)

Copy link
Contributor

@amal-k-joy amal-k-joy left a comment

Choose a reason for hiding this comment

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

LGTM

@anamikaanu96 anamikaanu96 added this pull request to the merge queue Dec 30, 2024
Merged via the queue into carbon-design-system:main with commit cc8f1aa Dec 30, 2024
30 checks passed
@anamikaanu96 anamikaanu96 deleted the emptyStateAccessibility branch December 30, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[a11y]: Empty state accessibility violations
3 participants