From 7468d17844f5e9ecdf4d93361d7378a8caa9449b Mon Sep 17 00:00:00 2001 From: Brian Nguyen Date: Mon, 26 Feb 2024 19:56:45 -0800 Subject: [PATCH] Updated accessibility role for text inside buttons --- .../Buttons/Button/foundation/ButtonBase/ButtonBase.tsx | 1 + app/component-library/components/Texts/Text/Text.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/component-library/components/Buttons/Button/foundation/ButtonBase/ButtonBase.tsx b/app/component-library/components/Buttons/Button/foundation/ButtonBase/ButtonBase.tsx index 8bc0a25e47a..f991189a89f 100644 --- a/app/component-library/components/Buttons/Button/foundation/ButtonBase/ButtonBase.tsx +++ b/app/component-library/components/Buttons/Button/foundation/ButtonBase/ButtonBase.tsx @@ -59,6 +59,7 @@ const ButtonBase = ({ {label} diff --git a/app/component-library/components/Texts/Text/Text.tsx b/app/component-library/components/Texts/Text/Text.tsx index 3ae5665d71c..617702a41be 100644 --- a/app/component-library/components/Texts/Text/Text.tsx +++ b/app/component-library/components/Texts/Text/Text.tsx @@ -21,7 +21,7 @@ const Text: React.FC = ({ }) => { const { styles } = useStyles(styleSheet, { variant, style, color }); return ( - + {children} );