-
Notifications
You must be signed in to change notification settings - Fork 140
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
fix(Emptystate): accessibility violation #6605
Conversation
✅ Deploy Preview for carbon-for-ibm-products ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for ibm-products-web-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
packages/ibm-products/src/components/EmptyStates/EmptyState.tsx
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
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
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
cc8f1aa
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 ofas
.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