From 5c3862fb870184ab5df46ff55d6a3a5ce5223c9f Mon Sep 17 00:00:00 2001 From: Jeremias Peier Date: Thu, 26 Oct 2023 14:42:35 +0200 Subject: [PATCH] fix: review --- src/components/sbb-navigation/sbb-navigation.stories.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/sbb-navigation/sbb-navigation.stories.tsx b/src/components/sbb-navigation/sbb-navigation.stories.tsx index 6782c00b24..956a5212d8 100644 --- a/src/components/sbb-navigation/sbb-navigation.stories.tsx +++ b/src/components/sbb-navigation/sbb-navigation.stories.tsx @@ -41,7 +41,7 @@ const playStoryWithSection = async ({ canvasElement }): Promise => { userEvent.click(actionS); }; -const accessibilityLabel: InputType = { +const ariaLabel: InputType = { control: { type: 'text', }, @@ -66,13 +66,13 @@ const disableAnimation: InputType = { }; const basicArgTypes: ArgTypes = { - 'accessibility-label': accessibilityLabel, + 'aria-label': ariaLabel, 'accessibility-close-label': accessibilityCloseLabel, 'disable-animation': disableAnimation, }; const basicArgs: Args = { - 'accessibility-label': undefined, + 'aria-label': undefined, 'accessibility-close-label': undefined, 'disable-animation': isChromatic(), };