From ca7a46aaaca73d0ae5e6d4c554cc2d2fb6bebdab Mon Sep 17 00:00:00 2001 From: Camille Croci <> Date: Fri, 9 Dec 2022 12:02:04 +0000 Subject: [PATCH 1/3] Refactor follow-button aria-label Use the DAC compliant form where the visual string is reused and not broken --- components/x-follow-button/src/FollowButton.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/x-follow-button/src/FollowButton.jsx b/components/x-follow-button/src/FollowButton.jsx index 706a1ce13..dbfae5002 100644 --- a/components/x-follow-button/src/FollowButton.jsx +++ b/components/x-follow-button/src/FollowButton.jsx @@ -33,7 +33,7 @@ export const FollowButton = (props) => { } const getAccessibleText = () => - isFollowed ? `Remove ${conceptName} from myFT` : `Add ${conceptName} to myFT` + isFollowed ? `Added ${conceptName} to myFT: click to remove` : `Add to myFT: ${conceptName}` return (