-
Notifications
You must be signed in to change notification settings - Fork 11
feat(Carousel, CenteredCarousel, Slideshow): add a11y controls, and other changes from latest carousel spec #1388
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
base: master
Are you sure you want to change the base?
Conversation
… on withControls and withBullets settings
Accessibility report ℹ️ You can run this locally by executing |
Deploy preview for mistica-web ready! ✅ Preview Built with commit 276eba7. |
Screenshot tests report |
Size stats
|
@@ -5,7 +5,7 @@ const CarouselTest = (): JSX.Element => ( | |||
<ResponsiveLayout> | |||
<Carousel | |||
withBullets | |||
items={Array.from({length: 3}, (_, idx) => ( | |||
items={Array.from({length: 4}, (_, idx) => ( |
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.
better to have SSR test to test the base case of the carousel: having more than one page (also in desktop)
<Callout | ||
description="Arrow controls disappear in touch devices" | ||
asset={<IconInformationRegular />} | ||
/> |
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.
don't needed as arrows will be always present, also in touch devices.
Spec: https://www.figma.com/design/hxJvuIQQ1xf50xIOQFUZbQ/%F0%9F%94%B8-Carousel-Specs?node-id=4498-15575&t=6bLo1yGJsdBrEBkT-0