From c70933dc40d5c2988ecb772ca5be8687377c6204 Mon Sep 17 00:00:00 2001 From: Barsnes Date: Fri, 13 Dec 2024 09:55:32 +0100 Subject: [PATCH] disable aria-allowed-attr --- .../components/Suggestion/Suggestion.stories.tsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/react/src/components/Suggestion/Suggestion.stories.tsx b/packages/react/src/components/Suggestion/Suggestion.stories.tsx index 7ecc27cd3b..6f31c63644 100644 --- a/packages/react/src/components/Suggestion/Suggestion.stories.tsx +++ b/packages/react/src/components/Suggestion/Suggestion.stories.tsx @@ -17,6 +17,20 @@ export default { ), ], + parameters: { + a11y: { + // TODO: these rules should be enabled after figuring out why they occur. + // for some reason it says `aria-expanded` is not allowed + config: { + rules: [ + { + id: 'aria-allowed-attr', + enabled: false, + }, + ], + }, + }, + }, } as Meta; const DATA_PLACES = [