Skip to content

Commit

Permalink
chore: story fixes for a11y flakes (#3920)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrantz authored May 29, 2024
1 parent cb3b0f4 commit cd65d9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const SidebarWithContent: React.FC<
<SidebarHeaderLabel>Product name</SidebarHeaderLabel>
</SidebarHeader>
<SidebarBody>
<SidebarNavigation aria-label={id}>
<SidebarNavigation aria-label={id} hideItemsOnCollapse>
<SidebarNavigationItem href="#" selected>
Explore products
</SidebarNavigationItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const Basic = (): React.ReactNode => {
<SidePanelContainer id={sidePanelId} isOpen={isOpen} setIsOpen={setIsOpen}>
<SidePanelWithContent />
<SidePanelPushContentWrapper>
<Box paddingTop="space40" paddingLeft="space40" paddingRight="space40">
<Box paddingTop="space40" paddingLeft="space40" paddingRight="space40" id={mainContentSkipLinkID}>
<SidePanelButton variant="secondary">Toggle Side Panel</SidePanelButton>
</Box>
</SidePanelPushContentWrapper>
Expand Down Expand Up @@ -99,7 +99,7 @@ export const I18n = (): React.ReactNode => {
id={sidePanelId}
>
<SidePanelPushContentWrapper>
<Box paddingTop="space40" paddingLeft="space40" paddingRight="space40">
<Box paddingTop="space40" paddingLeft="space40" paddingRight="space40" id={mainContentSkipLinkID}>
<SidePanelButton variant="primary">Probar Panel Lateral</SidePanelButton>
</Box>
</SidePanelPushContentWrapper>
Expand Down

0 comments on commit cd65d9b

Please sign in to comment.