From 9c1d68c18c08e7af7f50798f02ac7214bbfaec84 Mon Sep 17 00:00:00 2001 From: Matiss Janis Aboltins <matiss@mja.lv> Date: Fri, 30 Dec 2022 21:58:04 +0000 Subject: [PATCH] aria-hidden for emojis --- packages/desktop-client/src/components/tutorial/Final.js | 2 +- packages/desktop-client/src/components/tutorial/Intro.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/desktop-client/src/components/tutorial/Final.js b/packages/desktop-client/src/components/tutorial/Final.js index 998f19870..e8cfbc886 100644 --- a/packages/desktop-client/src/components/tutorial/Final.js +++ b/packages/desktop-client/src/components/tutorial/Final.js @@ -11,7 +11,7 @@ function Final({ targetRect, navigationProps }) { <P> With that workflow you can have peace of mind that what you are looking at reflects reality.{' '} - <span role="img" aria-label="Relieved smile"> + <span role="img" aria-label="Relieved smile" aria-hidden="true"> 😌 </span>{' '} The amount of money in a category is cash that you can safely spend diff --git a/packages/desktop-client/src/components/tutorial/Intro.js b/packages/desktop-client/src/components/tutorial/Intro.js index b87847ea6..3021ceebc 100644 --- a/packages/desktop-client/src/components/tutorial/Intro.js +++ b/packages/desktop-client/src/components/tutorial/Intro.js @@ -16,7 +16,7 @@ function Intro({ fromYNAB, nextTutorialStage, closeTutorial }) { <Title>Let's get started</Title> <P> Welcome to Actual!{' '} - <span role="img" aria-label="Party"> + <span role="img" aria-label="Party" aria-hidden="true"> 🎉 </span>{' '} <strong>Learn the basic workflow with this quick tutorial.</strong> You -- GitLab