fix: Add aria-label to end-to-end encryption blog link (#3367)

This commit is contained in:
Arun 2021-03-31 17:02:54 +05:30 committed by GitHub
parent a6706cff20
commit bdf6e53289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -350,6 +350,7 @@ const LayerUI = ({
href="https://blog.excalidraw.com/end-to-end-encryption/" href="https://blog.excalidraw.com/end-to-end-encryption/"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
aria-label={t("encrypted.link")}
> >
<Tooltip label={t("encrypted.tooltip")} position="above" long={true}> <Tooltip label={t("encrypted.tooltip")} position="above" long={true}>
{shield} {shield}

View File

@ -230,7 +230,8 @@
"zoomToSelection": "Zoom to selection" "zoomToSelection": "Zoom to selection"
}, },
"encrypted": { "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": { "stats": {
"angle": "Angle", "angle": "Angle",