mirror of https://github.com/vector-im/riot-web
Give forward dialog send buttons an accessible label
Signed-off-by: Robin Townsend <robin@robin.town>pull/21833/head
parent
121ed5eba9
commit
5c7da97ff6
|
@ -99,13 +99,13 @@ const Entry: React.FC<IEntryProps> = ({ room, event, matrixClient: cli, onFinish
|
||||||
} else if (sendState === SendState.Sending) {
|
} else if (sendState === SendState.Sending) {
|
||||||
className = "mx_ForwardList_sending";
|
className = "mx_ForwardList_sending";
|
||||||
disabled = true;
|
disabled = true;
|
||||||
title = _t("Sending…");
|
title = _t("Sending");
|
||||||
icon = <div className="mx_ForwardList_sendIcon"></div>;
|
icon = <div className="mx_ForwardList_sendIcon" aria-label={title}></div>;
|
||||||
} else if (sendState === SendState.Sent) {
|
} else if (sendState === SendState.Sent) {
|
||||||
className = "mx_ForwardList_sent";
|
className = "mx_ForwardList_sent";
|
||||||
disabled = true;
|
disabled = true;
|
||||||
title = _t("Sent");
|
title = _t("Sent");
|
||||||
icon = <div className="mx_ForwardList_sendIcon"></div>;
|
icon = <div className="mx_ForwardList_sendIcon" aria-label={title}></div>;
|
||||||
} else {
|
} else {
|
||||||
className = "mx_ForwardList_sendFailed";
|
className = "mx_ForwardList_sendFailed";
|
||||||
disabled = true;
|
disabled = true;
|
||||||
|
|
|
@ -2203,7 +2203,7 @@
|
||||||
"Report a bug": "Report a bug",
|
"Report a bug": "Report a bug",
|
||||||
"Please view <existingIssuesLink>existing bugs on Github</existingIssuesLink> first. No match? <newIssueLink>Start a new one</newIssueLink>.": "Please view <existingIssuesLink>existing bugs on Github</existingIssuesLink> first. No match? <newIssueLink>Start a new one</newIssueLink>.",
|
"Please view <existingIssuesLink>existing bugs on Github</existingIssuesLink> first. No match? <newIssueLink>Start a new one</newIssueLink>.": "Please view <existingIssuesLink>existing bugs on Github</existingIssuesLink> first. No match? <newIssueLink>Start a new one</newIssueLink>.",
|
||||||
"You don't have permission to do this": "You don't have permission to do this",
|
"You don't have permission to do this": "You don't have permission to do this",
|
||||||
"Sending…": "Sending…",
|
"Sending": "Sending",
|
||||||
"Sent": "Sent",
|
"Sent": "Sent",
|
||||||
"Open link": "Open link",
|
"Open link": "Open link",
|
||||||
"Forward message": "Forward message",
|
"Forward message": "Forward message",
|
||||||
|
@ -2668,7 +2668,6 @@
|
||||||
"Some of your messages have not been sent": "Some of your messages have not been sent",
|
"Some of your messages have not been sent": "Some of your messages have not been sent",
|
||||||
"Delete all": "Delete all",
|
"Delete all": "Delete all",
|
||||||
"Retry all": "Retry all",
|
"Retry all": "Retry all",
|
||||||
"Sending": "Sending",
|
|
||||||
"You can select all or individual messages to retry or delete": "You can select all or individual messages to retry or delete",
|
"You can select all or individual messages to retry or delete": "You can select all or individual messages to retry or delete",
|
||||||
"Connectivity to the server has been lost.": "Connectivity to the server has been lost.",
|
"Connectivity to the server has been lost.": "Connectivity to the server has been lost.",
|
||||||
"Sent messages will be stored until your connection has returned.": "Sent messages will be stored until your connection has returned.",
|
"Sent messages will be stored until your connection has returned.": "Sent messages will be stored until your connection has returned.",
|
||||||
|
|
Loading…
Reference in New Issue