From 7b74726e507b537784ae3db5979a708dd5eff94d Mon Sep 17 00:00:00 2001 From: Josiah Ivey Date: Tue, 2 Apr 2024 12:39:30 -0700 Subject: [PATCH] add aria-label to PopoverItem --- src/components/ExerciseHeaderIcons.tsx | 7 ++++++- src/components/__snapshots__/Exercise.spec.tsx.snap | 5 +++++ .../__snapshots__/ExerciseHeaderIcons.spec.tsx.snap | 3 +++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/components/ExerciseHeaderIcons.tsx b/src/components/ExerciseHeaderIcons.tsx index 05f1da82..7f4abf7a 100644 --- a/src/components/ExerciseHeaderIcons.tsx +++ b/src/components/ExerciseHeaderIcons.tsx @@ -62,7 +62,12 @@ interface PopoverItemProps { } const PopoverItem = (props: PopoverItemProps) => ( - + {props.children} diff --git a/src/components/__snapshots__/Exercise.spec.tsx.snap b/src/components/__snapshots__/Exercise.spec.tsx.snap index e361a551..9eedd8b7 100644 --- a/src/components/__snapshots__/Exercise.spec.tsx.snap +++ b/src/components/__snapshots__/Exercise.spec.tsx.snap @@ -495,6 +495,7 @@ exports[`Exercise with question state data renders header icons with multiple ch className="sc-iqcoie iCsHxN" >