-
Notifications
You must be signed in to change notification settings - Fork 152
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
feat(Loading): improve accessibility of the Loading component #4616
Conversation
Deploying orbit with
|
Latest commit: |
be8e356
|
Status: | ✅ Deploy successful! |
Preview URL: | https://e674ba51.orbit.pages.dev |
Branch Preview URL: | https://sarka-loading-a11y-fix.orbit.pages.dev |
Storybook staging is available at https://kiwicom-orbit-sarka-loading-a11y-fix.surge.sh Playroom staging is available at https://kiwicom-orbit-sarka-loading-a11y-fix.surge.sh/playroom |
Size Change: +68 B (+0.01%) Total Size: 461 kB
ℹ️ View Unchanged
|
7abfd35
to
a12a06b
Compare
f4f1aa4
to
3b71330
Compare
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.
We can probably have some unit tests (either new or enhance the current ones) that cover the changes of this PR
docs/src/documentation/03-components/10-progress-indicators/loading/03-accessibility.mdx
Show resolved
Hide resolved
f53642e
to
3ddb8f8
Compare
3ddb8f8
to
29eb524
Compare
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.
Key Issues
The test case incorrectly sets asComponent="span"
while it should test the default behavior of rendering as a div
when the text
prop is provided.
I added some of them to check the rendered element or existency of the |
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.
The feat commit message is insufficient. We have two new props. They should be mentioned on the commit message
90d8c4e
to
76107e4
Compare
76107e4
to
be8e356
Compare
This Pull Request meets the following criteria:
For new components:
d.ts
files and are exported inindex.d.ts
✨
Description by Callstackai
This PR improves the accessibility of the Loading component by adding new props and enhancing its functionality.
Diagrams of code changes
Files Changed
This PR includes files in programming languages that we currently do not support. We have not reviewed files with the extensions
.mdx
,.md
. See list of supported languages.