From 4bddad18421da20583c12202d609518675b9f0fb Mon Sep 17 00:00:00 2001 From: Michael Salzmann Date: Fri, 20 Sep 2024 15:29:36 +0200 Subject: [PATCH] FCT-1150-ui-kit-make-icon-components-pass-a-11-y-tests (#2922) * fix: make Icon components pass a11y tests * fix: commit fixed icon components * fix: fix broken tests --- .../icons/src/generated/AngleDownReact.tsx | 2 +- .../icons/src/generated/AngleLeftReact.tsx | 2 +- .../icons/src/generated/AngleRightReact.tsx | 2 +- .../icons/src/generated/AngleThinLeftReact.tsx | 2 +- .../icons/src/generated/AngleThinRightReact.tsx | 2 +- .../icons/src/generated/AngleUpDownReact.tsx | 2 +- .../icons/src/generated/AngleUpReact.tsx | 2 +- .../icons/src/generated/ArrowDownReact.tsx | 2 +- .../icons/src/generated/ArrowLeftReact.tsx | 2 +- .../icons/src/generated/ArrowLongDownReact.tsx | 2 +- .../icons/src/generated/ArrowRightReact.tsx | 2 +- .../src/generated/ArrowTriangleDownReact.tsx | 2 +- .../src/generated/ArrowTriangleUpReact.tsx | 2 +- .../icons/src/generated/ArrowUpReact.tsx | 2 +- .../icons/src/generated/ArrowsMinimizeReact.tsx | 2 +- .../icons/src/generated/ArrowsReact.tsx | 2 +- .../icons/src/generated/BackReact.tsx | 2 +- .../src/generated/BidirectionalArrowReact.tsx | 2 +- .../icons/src/generated/BinFilledReact.tsx | 2 +- .../icons/src/generated/BinLinearReact.tsx | 2 +- .../components/icons/src/generated/BoxReact.tsx | 2 +- .../icons/src/generated/BrainReact.tsx | 2 +- .../icons/src/generated/CalendarReact.tsx | 2 +- .../icons/src/generated/CameraReact.tsx | 2 +- .../icons/src/generated/CaretDownReact.tsx | 2 +- .../icons/src/generated/CaretUpReact.tsx | 2 +- .../icons/src/generated/CartReact.tsx | 2 +- .../icons/src/generated/ChainBrokenReact.tsx | 2 +- .../icons/src/generated/ChainReact.tsx | 2 +- .../icons/src/generated/CheckActiveReact.tsx | 2 +- .../icons/src/generated/CheckBoldReact.tsx | 2 +- .../icons/src/generated/CheckInactiveReact.tsx | 2 +- .../icons/src/generated/CheckThinReact.tsx | 2 +- .../icons/src/generated/CircleReact.tsx | 2 +- .../icons/src/generated/ClipboardReact.tsx | 2 +- .../icons/src/generated/ClockReact.tsx | 2 +- .../icons/src/generated/ClockWithArrowReact.tsx | 2 +- .../icons/src/generated/CloseBoldReact.tsx | 2 +- .../icons/src/generated/CloseReact.tsx | 2 +- .../icons/src/generated/CodeViewReact.tsx | 2 +- .../icons/src/generated/CoinsReact.tsx | 2 +- .../icons/src/generated/ColumnsReact.tsx | 2 +- .../src/generated/ConnectedSquareReact.tsx | 2 +- .../src/generated/ConnectedTriangleReact.tsx | 2 +- .../icons/src/generated/CopyReact.tsx | 2 +- .../icons/src/generated/CubeReact.tsx | 2 +- .../icons/src/generated/CubesReact.tsx | 2 +- .../icons/src/generated/DiamondReact.tsx | 2 +- .../icons/src/generated/DomainReact.tsx | 2 +- .../components/icons/src/generated/DotReact.tsx | 2 +- .../icons/src/generated/DownloadReact.tsx | 2 +- .../icons/src/generated/DragDropReact.tsx | 2 +- .../icons/src/generated/DragReact.tsx | 2 +- .../icons/src/generated/EditReact.tsx | 2 +- .../icons/src/generated/ErrorReact.tsx | 2 +- .../icons/src/generated/ExpandReact.tsx | 2 +- .../icons/src/generated/ExportReact.tsx | 2 +- .../icons/src/generated/ExternalLinkReact.tsx | 2 +- .../icons/src/generated/EyeCrossedReact.tsx | 2 +- .../components/icons/src/generated/EyeReact.tsx | 2 +- .../icons/src/generated/FilterAndListReact.tsx | 2 +- .../icons/src/generated/FilterReact.tsx | 2 +- .../icons/src/generated/FlagFilledReact.tsx | 2 +- .../icons/src/generated/FlagLinearReact.tsx | 2 +- .../icons/src/generated/FlameReact.tsx | 2 +- .../icons/src/generated/FractionDigitsReact.tsx | 2 +- .../icons/src/generated/GearReact.tsx | 2 +- .../icons/src/generated/GraduationCapReact.tsx | 2 +- .../icons/src/generated/GraphReact.tsx | 2 +- .../icons/src/generated/GridReact.tsx | 2 +- .../icons/src/generated/GroupAddReact.tsx | 2 +- .../icons/src/generated/HeartReact.tsx | 2 +- .../icons/src/generated/HomeReact.tsx | 2 +- .../icons/src/generated/ImportReact.tsx | 2 +- .../icons/src/generated/InfoReact.tsx | 2 +- .../icons/src/generated/InformationReact.tsx | 2 +- .../icons/src/generated/LayersReact.tsx | 2 +- .../icons/src/generated/ListReact.tsx | 2 +- .../icons/src/generated/ListWithSearchReact.tsx | 2 +- .../icons/src/generated/LockReact.tsx | 2 +- .../icons/src/generated/LogoutReact.tsx | 2 +- .../icons/src/generated/MailReact.tsx | 2 +- .../icons/src/generated/MinimizeReact.tsx | 2 +- .../icons/src/generated/NestedViewReact.tsx | 2 +- .../icons/src/generated/OperationsReact.tsx | 2 +- .../icons/src/generated/PageGearReact.tsx | 2 +- .../icons/src/generated/PagesReact.tsx | 2 +- .../src/generated/PaperBillInvertedReact.tsx | 2 +- .../icons/src/generated/PaperclipReact.tsx | 2 +- .../icons/src/generated/PinFilledReact.tsx | 2 +- .../icons/src/generated/PinGearReact.tsx | 2 +- .../icons/src/generated/PinLinearReact.tsx | 2 +- .../icons/src/generated/PluginReact.tsx | 2 +- .../icons/src/generated/PlusBoldReact.tsx | 2 +- .../icons/src/generated/PlusThinReact.tsx | 2 +- .../icons/src/generated/RefreshReact.tsx | 2 +- .../icons/src/generated/RestoreReact.tsx | 2 +- .../icons/src/generated/RevertReact.tsx | 2 +- .../icons/src/generated/ReviewReact.tsx | 2 +- .../src/generated/RightTriangleFilledReact.tsx | 2 +- .../src/generated/RightTriangleLinearReact.tsx | 2 +- .../icons/src/generated/RocketReact.tsx | 2 +- .../icons/src/generated/ScreenGearReact.tsx | 2 +- .../icons/src/generated/ScreenUserReact.tsx | 2 +- .../icons/src/generated/SearchReact.tsx | 2 +- .../src/generated/SidebarCollapseReact.tsx | 2 +- .../icons/src/generated/SidebarExpandReact.tsx | 2 +- .../icons/src/generated/SortingReact.tsx | 2 +- .../icons/src/generated/SpeechBubbleReact.tsx | 2 +- .../icons/src/generated/SpeedometerReact.tsx | 2 +- .../icons/src/generated/SplitReact.tsx | 2 +- .../icons/src/generated/StackReact.tsx | 2 +- .../icons/src/generated/StarReact.tsx | 2 +- .../src/generated/SubdirectoryArrowReact.tsx | 2 +- .../icons/src/generated/SupportReact.tsx | 2 +- .../icons/src/generated/SwitcherReact.tsx | 2 +- .../icons/src/generated/TableReact.tsx | 2 +- .../icons/src/generated/TagMultiReact.tsx | 2 +- .../components/icons/src/generated/TagReact.tsx | 2 +- .../icons/src/generated/TagStackedReact.tsx | 2 +- .../icons/src/generated/TerminalReact.tsx | 2 +- .../icons/src/generated/TreeStructureReact.tsx | 2 +- .../icons/src/generated/TruckReact.tsx | 2 +- .../icons/src/generated/UserFilledReact.tsx | 2 +- .../icons/src/generated/UserLinearReact.tsx | 2 +- .../icons/src/generated/UsersReact.tsx | 2 +- .../icons/src/generated/VerifiedReact.tsx | 2 +- .../icons/src/generated/ViewGridPlusReact.tsx | 2 +- .../icons/src/generated/WarningReact.tsx | 2 +- .../icons/src/generated/WindowEyeReact.tsx | 2 +- .../icons/src/generated/WorldReact.tsx | 2 +- .../src/icons/generated/CheckedReact.tsx | 2 +- .../src/icons/generated/IndeterminateReact.tsx | 2 +- .../icons/generated/BoldReact.tsx | 2 +- .../icons/generated/ExpandFullReact.tsx | 2 +- .../icons/generated/ExpandReact.tsx | 2 +- .../icons/generated/ItalicReact.tsx | 2 +- .../icons/generated/MoreStylesReact.tsx | 2 +- .../icons/generated/OrderedListReact.tsx | 2 +- .../icons/generated/RedoReact.tsx | 2 +- .../icons/generated/StrikethroughReact.tsx | 2 +- .../icons/generated/SubscriptReact.tsx | 2 +- .../icons/generated/SuperscriptReact.tsx | 2 +- .../icons/generated/UnderlineReact.tsx | 2 +- .../icons/generated/UndoReact.tsx | 2 +- .../icons/generated/UnorderedListReact.tsx | 2 +- packages/components/stamp/src/stamp.spec.js | 17 ++++++++++++++--- svgr.config.js | 2 +- 148 files changed, 161 insertions(+), 150 deletions(-) diff --git a/packages/components/icons/src/generated/AngleDownReact.tsx b/packages/components/icons/src/generated/AngleDownReact.tsx index 869ae941a2..399505cd94 100644 --- a/packages/components/icons/src/generated/AngleDownReact.tsx +++ b/packages/components/icons/src/generated/AngleDownReact.tsx @@ -134,7 +134,7 @@ const SvgAngleDown = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/AngleLeftReact.tsx b/packages/components/icons/src/generated/AngleLeftReact.tsx index c510a5e7b4..5a0640d204 100644 --- a/packages/components/icons/src/generated/AngleLeftReact.tsx +++ b/packages/components/icons/src/generated/AngleLeftReact.tsx @@ -134,7 +134,7 @@ const SvgAngleLeft = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/AngleRightReact.tsx b/packages/components/icons/src/generated/AngleRightReact.tsx index 48cd26f19e..a12ae8e7e6 100644 --- a/packages/components/icons/src/generated/AngleRightReact.tsx +++ b/packages/components/icons/src/generated/AngleRightReact.tsx @@ -134,7 +134,7 @@ const SvgAngleRight = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/AngleThinLeftReact.tsx b/packages/components/icons/src/generated/AngleThinLeftReact.tsx index afbd4a06d4..adebd89b66 100644 --- a/packages/components/icons/src/generated/AngleThinLeftReact.tsx +++ b/packages/components/icons/src/generated/AngleThinLeftReact.tsx @@ -134,7 +134,7 @@ const SvgAngleThinLeft = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/AngleUpReact.tsx b/packages/components/icons/src/generated/AngleUpReact.tsx index 3471989c96..bae75ad650 100644 --- a/packages/components/icons/src/generated/AngleUpReact.tsx +++ b/packages/components/icons/src/generated/AngleUpReact.tsx @@ -134,7 +134,7 @@ const SvgAngleUp = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/ArrowDownReact.tsx b/packages/components/icons/src/generated/ArrowDownReact.tsx index ae4bc2cc60..a81bd12aae 100644 --- a/packages/components/icons/src/generated/ArrowDownReact.tsx +++ b/packages/components/icons/src/generated/ArrowDownReact.tsx @@ -134,7 +134,7 @@ const SvgArrowDown = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/ArrowLeftReact.tsx b/packages/components/icons/src/generated/ArrowLeftReact.tsx index aeebf90c71..70929910b8 100644 --- a/packages/components/icons/src/generated/ArrowLeftReact.tsx +++ b/packages/components/icons/src/generated/ArrowLeftReact.tsx @@ -134,7 +134,7 @@ const SvgArrowLeft = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/ArrowRightReact.tsx b/packages/components/icons/src/generated/ArrowRightReact.tsx index 1d0651c978..000084a68a 100644 --- a/packages/components/icons/src/generated/ArrowRightReact.tsx +++ b/packages/components/icons/src/generated/ArrowRightReact.tsx @@ -134,7 +134,7 @@ const SvgArrowRight = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/ArrowTriangleDownReact.tsx b/packages/components/icons/src/generated/ArrowTriangleDownReact.tsx index 675d09787f..fa8442434d 100644 --- a/packages/components/icons/src/generated/ArrowTriangleDownReact.tsx +++ b/packages/components/icons/src/generated/ArrowTriangleDownReact.tsx @@ -134,7 +134,7 @@ const SvgArrowTriangleDown = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/ArrowTriangleUpReact.tsx b/packages/components/icons/src/generated/ArrowTriangleUpReact.tsx index 5a37e6ba8d..19f4f2a267 100644 --- a/packages/components/icons/src/generated/ArrowTriangleUpReact.tsx +++ b/packages/components/icons/src/generated/ArrowTriangleUpReact.tsx @@ -134,7 +134,7 @@ const SvgArrowTriangleUp = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/ArrowUpReact.tsx b/packages/components/icons/src/generated/ArrowUpReact.tsx index 5b72ff71ae..bf9d334b4b 100644 --- a/packages/components/icons/src/generated/ArrowUpReact.tsx +++ b/packages/components/icons/src/generated/ArrowUpReact.tsx @@ -134,7 +134,7 @@ const SvgArrowUp = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/ArrowsMinimizeReact.tsx b/packages/components/icons/src/generated/ArrowsMinimizeReact.tsx index 74657861ec..b01ea50e26 100644 --- a/packages/components/icons/src/generated/ArrowsMinimizeReact.tsx +++ b/packages/components/icons/src/generated/ArrowsMinimizeReact.tsx @@ -135,7 +135,7 @@ const SvgArrowsMinimize = (props: SVGProps) => ( height={24} fill="none" viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/BackReact.tsx b/packages/components/icons/src/generated/BackReact.tsx index 098dfc3741..40b4b91ac1 100644 --- a/packages/components/icons/src/generated/BackReact.tsx +++ b/packages/components/icons/src/generated/BackReact.tsx @@ -134,7 +134,7 @@ const SvgBack = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/BidirectionalArrowReact.tsx b/packages/components/icons/src/generated/BidirectionalArrowReact.tsx index d3023747df..a74ca8755f 100644 --- a/packages/components/icons/src/generated/BidirectionalArrowReact.tsx +++ b/packages/components/icons/src/generated/BidirectionalArrowReact.tsx @@ -134,7 +134,7 @@ const SvgBidirectionalArrow = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/BinFilledReact.tsx b/packages/components/icons/src/generated/BinFilledReact.tsx index c6fc3e5ff9..4e9b041da8 100644 --- a/packages/components/icons/src/generated/BinFilledReact.tsx +++ b/packages/components/icons/src/generated/BinFilledReact.tsx @@ -134,7 +134,7 @@ const SvgBinFilled = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/BinLinearReact.tsx b/packages/components/icons/src/generated/BinLinearReact.tsx index 072823d614..3038746738 100644 --- a/packages/components/icons/src/generated/BinLinearReact.tsx +++ b/packages/components/icons/src/generated/BinLinearReact.tsx @@ -134,7 +134,7 @@ const SvgBinLinear = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/BoxReact.tsx b/packages/components/icons/src/generated/BoxReact.tsx index 5ccae2601e..a21d8e692a 100644 --- a/packages/components/icons/src/generated/BoxReact.tsx +++ b/packages/components/icons/src/generated/BoxReact.tsx @@ -134,7 +134,7 @@ const SvgBox = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/BrainReact.tsx b/packages/components/icons/src/generated/BrainReact.tsx index 5f3a546e7a..621ffb0ca8 100644 --- a/packages/components/icons/src/generated/BrainReact.tsx +++ b/packages/components/icons/src/generated/BrainReact.tsx @@ -134,7 +134,7 @@ const SvgBrain = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/CameraReact.tsx b/packages/components/icons/src/generated/CameraReact.tsx index 506f9db12e..e1eaf2053f 100644 --- a/packages/components/icons/src/generated/CameraReact.tsx +++ b/packages/components/icons/src/generated/CameraReact.tsx @@ -134,7 +134,7 @@ const SvgCamera = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/CaretDownReact.tsx b/packages/components/icons/src/generated/CaretDownReact.tsx index 224ef0b2ef..633286e971 100644 --- a/packages/components/icons/src/generated/CaretDownReact.tsx +++ b/packages/components/icons/src/generated/CaretDownReact.tsx @@ -134,7 +134,7 @@ const SvgCaretDown = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/ChainBrokenReact.tsx b/packages/components/icons/src/generated/ChainBrokenReact.tsx index fa3531bd4c..4f91241c23 100644 --- a/packages/components/icons/src/generated/ChainBrokenReact.tsx +++ b/packages/components/icons/src/generated/ChainBrokenReact.tsx @@ -134,7 +134,7 @@ const SvgChainBroken = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/ChainReact.tsx b/packages/components/icons/src/generated/ChainReact.tsx index 5a28e7be73..7eb1af486b 100644 --- a/packages/components/icons/src/generated/ChainReact.tsx +++ b/packages/components/icons/src/generated/ChainReact.tsx @@ -134,7 +134,7 @@ const SvgChain = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/CheckActiveReact.tsx b/packages/components/icons/src/generated/CheckActiveReact.tsx index bb7a442127..e8192581ad 100644 --- a/packages/components/icons/src/generated/CheckActiveReact.tsx +++ b/packages/components/icons/src/generated/CheckActiveReact.tsx @@ -134,7 +134,7 @@ const SvgCheckActive = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/CheckBoldReact.tsx b/packages/components/icons/src/generated/CheckBoldReact.tsx index 6ba8c8e3ef..cbd4b3efdc 100644 --- a/packages/components/icons/src/generated/CheckBoldReact.tsx +++ b/packages/components/icons/src/generated/CheckBoldReact.tsx @@ -134,7 +134,7 @@ const SvgCheckBold = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/CheckInactiveReact.tsx b/packages/components/icons/src/generated/CheckInactiveReact.tsx index 7899726245..fd517a9d84 100644 --- a/packages/components/icons/src/generated/CheckInactiveReact.tsx +++ b/packages/components/icons/src/generated/CheckInactiveReact.tsx @@ -134,7 +134,7 @@ const SvgCheckInactive = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/CheckThinReact.tsx b/packages/components/icons/src/generated/CheckThinReact.tsx index 355aea8f43..b5c17fc99e 100644 --- a/packages/components/icons/src/generated/CheckThinReact.tsx +++ b/packages/components/icons/src/generated/CheckThinReact.tsx @@ -134,7 +134,7 @@ const SvgCheckThin = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/CircleReact.tsx b/packages/components/icons/src/generated/CircleReact.tsx index 5922b2f5e5..bb7c7a066e 100644 --- a/packages/components/icons/src/generated/CircleReact.tsx +++ b/packages/components/icons/src/generated/CircleReact.tsx @@ -134,7 +134,7 @@ const SvgCircle = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/ClipboardReact.tsx b/packages/components/icons/src/generated/ClipboardReact.tsx index d46d390580..b296aa5c74 100644 --- a/packages/components/icons/src/generated/ClipboardReact.tsx +++ b/packages/components/icons/src/generated/ClipboardReact.tsx @@ -134,7 +134,7 @@ const SvgClipboard = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/ClockReact.tsx b/packages/components/icons/src/generated/ClockReact.tsx index 530a0f9dea..fa87039a05 100644 --- a/packages/components/icons/src/generated/ClockReact.tsx +++ b/packages/components/icons/src/generated/ClockReact.tsx @@ -134,7 +134,7 @@ const SvgClock = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/ClockWithArrowReact.tsx b/packages/components/icons/src/generated/ClockWithArrowReact.tsx index 8e3bec7d89..1f1388ce35 100644 --- a/packages/components/icons/src/generated/ClockWithArrowReact.tsx +++ b/packages/components/icons/src/generated/ClockWithArrowReact.tsx @@ -134,7 +134,7 @@ const SvgClockWithArrow = (props: SVGProps) => ( width={33} height={32} viewBox="0 0 33 32" - role="img" + aria-hidden="true" {...props} > ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/CloseReact.tsx b/packages/components/icons/src/generated/CloseReact.tsx index da2897b5b6..46ddbf8ecb 100644 --- a/packages/components/icons/src/generated/CloseReact.tsx +++ b/packages/components/icons/src/generated/CloseReact.tsx @@ -134,7 +134,7 @@ const SvgClose = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/CodeViewReact.tsx b/packages/components/icons/src/generated/CodeViewReact.tsx index 5689eacada..d5e25a9dd5 100644 --- a/packages/components/icons/src/generated/CodeViewReact.tsx +++ b/packages/components/icons/src/generated/CodeViewReact.tsx @@ -134,7 +134,7 @@ const SvgCodeView = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/CoinsReact.tsx b/packages/components/icons/src/generated/CoinsReact.tsx index 45b895ae18..29b2e2a0cb 100644 --- a/packages/components/icons/src/generated/CoinsReact.tsx +++ b/packages/components/icons/src/generated/CoinsReact.tsx @@ -134,7 +134,7 @@ const SvgCoins = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/ColumnsReact.tsx b/packages/components/icons/src/generated/ColumnsReact.tsx index 6a9d220d89..b5de3daaf7 100644 --- a/packages/components/icons/src/generated/ColumnsReact.tsx +++ b/packages/components/icons/src/generated/ColumnsReact.tsx @@ -134,7 +134,7 @@ const SvgColumns = (props: SVGProps) => ( width={24} height={24} viewBox="0 0 24 24" - role="img" + aria-hidden="true" {...props} > diff --git a/packages/components/icons/src/generated/ConnectedSquareReact.tsx b/packages/components/icons/src/generated/ConnectedSquareReact.tsx index 7aa730cec5..1840e59fa9 100644 --- a/packages/components/icons/src/generated/ConnectedSquareReact.tsx +++ b/packages/components/icons/src/generated/ConnectedSquareReact.tsx @@ -132,7 +132,7 @@ const SvgConnectedSquare = (props: SVGProps) => (