Skip to content

Commit

Permalink
Carousel Storybook: Add navigation guidance aria-label example (#33419)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitch-At-Work authored Dec 6, 2024
1 parent a905fdd commit 001b1b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export const AlignmentAndWhitespace = () => {
<div className={classes.card}>
<Carousel align={alignment} className={classes.carousel} whitespace={whitespace} announcement={getAnnouncement}>
<CarouselViewport>
<CarouselSlider cardFocus>
<CarouselSlider cardFocus aria-label="Use the left and right arrow keys to navigate focused carousel card">
{POSTS.map((post, index) => (
<ActionCard {...post} key={post.name} index={index} />
))}
Expand Down

0 comments on commit 001b1b3

Please sign in to comment.