Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit 4e5cf1b

Browse files
authored
Add aria-label to e2e icon (#136)
1 parent 5f113c4 commit 4e5cf1b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: src/components/views/rooms/EventTile.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,7 @@ class E2ePadlock extends React.Component<IE2ePadlockProps> {
15191519
// https://github.com/element-hq/compound/issues/294
15201520
return (
15211521
<Tooltip label={this.props.title} isTriggerInteractive={true}>
1522-
<div className={classes} tabIndex={0} />
1522+
<div className={classes} tabIndex={0} aria-label={_t("timeline|e2e_state")} />
15231523
</Tooltip>
15241524
);
15251525
}

Diff for: src/i18n/strings/en_EN.json

+1
Original file line numberDiff line numberDiff line change
@@ -3272,6 +3272,7 @@
32723272
"download_action_downloading": "Downloading",
32733273
"download_failed": "Download failed",
32743274
"download_failed_description": "An error occurred while downloading this file",
3275+
"e2e_state": "State of the end-to-end encryption",
32753276
"edits": {
32763277
"tooltip_label": "Edited at %(date)s. Click to view edits.",
32773278
"tooltip_sub": "Click to view edits",

0 commit comments

Comments
 (0)