From c2aa8ce3e546c585bf33c0cb936f0166a39569d0 Mon Sep 17 00:00:00 2001 From: Tom <20648924+moT01@users.noreply.github.com> Date: Thu, 16 Dec 2021 04:17:12 -0600 Subject: [PATCH] fix: make completion modal a little more accessible (#44508) * fix: make completion modal a little more accessible * remove: unneeded aria attribute * fix: update snapshots --- client/src/assets/icons/green-pass.tsx | 4 ++-- .../__snapshots__/challenge-title.test.tsx.snap | 10 ++++------ .../completion-modal-body.test.tsx.snap | 13 +++++++------ .../Challenges/components/completion-modal-body.tsx | 10 ++++++++-- 4 files changed, 21 insertions(+), 16 deletions(-) diff --git a/client/src/assets/icons/green-pass.tsx b/client/src/assets/icons/green-pass.tsx index c4075c6b5e9..ea641726fe6 100644 --- a/client/src/assets/icons/green-pass.tsx +++ b/client/src/assets/icons/green-pass.tsx @@ -8,15 +8,15 @@ function GreenPass( return ( <> - {t('icons.passed')} - + title text - - icons.passed - renders correctly 1`] = ` width="50" xmlns="http://www.w3.org/2000/svg" > - +