diff --git a/packages/react-component-library/src/components/Timeline/Timeline.stories.tsx b/packages/react-component-library/src/components/Timeline/Timeline.stories.tsx index c98d957287..93c76f6995 100755 --- a/packages/react-component-library/src/components/Timeline/Timeline.stories.tsx +++ b/packages/react-component-library/src/components/Timeline/Timeline.stories.tsx @@ -18,6 +18,19 @@ import { export default { component: Timeline, title: 'Timeline' } as Meta +const disableScrollableRegionFocusableRule = { + a11y: { + config: { + rules: [ + { + id: 'scrollable-region-focusable', + enabled: false, + }, + ], + }, + }, +} + export const NoData = () => ( @@ -27,6 +40,7 @@ export const NoData = () => ( {} ) +NoData.parameters = disableScrollableRegionFocusableRule NoData.storyName = 'No data' export const BoundByFixedDates = () => ( @@ -74,6 +88,7 @@ export const WithData = () => ( ) +WithData.parameters = disableScrollableRegionFocusableRule WithData.storyName = 'With data' export const WithSidebar = () => (