From 69e302232e4fca77e40fe95c43b203857bc74c76 Mon Sep 17 00:00:00 2001 From: emyarod Date: Tue, 18 Feb 2020 11:36:03 -0600 Subject: [PATCH] fix(Copy): add aria-live to announce text updates --- packages/react/src/components/Copy/Copy.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/react/src/components/Copy/Copy.js b/packages/react/src/components/Copy/Copy.js index c722ea6f5df8..3741bdc91fe5 100644 --- a/packages/react/src/components/Copy/Copy.js +++ b/packages/react/src/components/Copy/Copy.js @@ -60,7 +60,9 @@ export default function Copy({ onAnimationEnd, handleAnimationEnd, ])} - {...other}> + {...other} + aria-live="polite" + aria-label={animation ? feedback : other['aria-label']}> {children}