From 8bf13ae3ada2c5e3ac1f5ff1779f4775e4a49f14 Mon Sep 17 00:00:00 2001 From: jbpenrath Date: Thu, 23 Feb 2023 16:21:26 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BF=EF=B8=8F(react)=20add=20aria-label=20?= =?UTF-8?q?property=20to=20the=20only=20icon=20button=20story?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As this button has no label only an icon, the a11y checker reports us that there is no accessible label for this component. --- packages/react/src/components/Button/index.stories.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react/src/components/Button/index.stories.tsx b/packages/react/src/components/Button/index.stories.tsx index 9001f62..204b1f6 100644 --- a/packages/react/src/components/Button/index.stories.tsx +++ b/packages/react/src/components/Button/index.stories.tsx @@ -87,6 +87,7 @@ IconRight.args = { export const IconOnly = Template.bind({}); IconOnly.args = { + "aria-label": "Button with only an icon", icon: (