From bdf6e53289c63735569d229a93b87dabf637ae5c Mon Sep 17 00:00:00 2001 From: Arun Date: Wed, 31 Mar 2021 17:02:54 +0530 Subject: [PATCH] fix: Add aria-label to end-to-end encryption blog link (#3367) --- src/components/LayerUI.tsx | 1 + src/locales/en.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/LayerUI.tsx b/src/components/LayerUI.tsx index c51057e4..77486c36 100644 --- a/src/components/LayerUI.tsx +++ b/src/components/LayerUI.tsx @@ -350,6 +350,7 @@ const LayerUI = ({ href="https://blog.excalidraw.com/end-to-end-encryption/" target="_blank" rel="noopener noreferrer" + aria-label={t("encrypted.link")} > {shield} diff --git a/src/locales/en.json b/src/locales/en.json index dfbbb8c7..f126bdde 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -230,7 +230,8 @@ "zoomToSelection": "Zoom to selection" }, "encrypted": { - "tooltip": "Your drawings are end-to-end encrypted so Excalidraw's servers will never see them." + "tooltip": "Your drawings are end-to-end encrypted so Excalidraw's servers will never see them.", + "link": "Blog post on end-to-end encryption in Excalidraw" }, "stats": { "angle": "Angle",