Slightly better presentation of read receipts to screen reader users (#8662)

This commit is contained in:
pvagner 2022-05-21 13:06:47 +02:00 committed by GitHub
parent e1e87ac019
commit c1c3ed6a9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -199,10 +199,12 @@ export function ReadReceiptGroup(
return ( return (
<div className="mx_EventTile_msgOption"> <div className="mx_EventTile_msgOption">
<div className="mx_ReadReceiptGroup"> <div className="mx_ReadReceiptGroup" role="group" aria-label={_t("Read receipts")}>
<AccessibleButton <AccessibleButton
className="mx_ReadReceiptGroup_button" className="mx_ReadReceiptGroup_button"
inputRef={button} inputRef={button}
aria-label={tooltipText}
aria-haspopup="true"
onClick={openMenu} onClick={openMenu}
onMouseOver={showTooltip} onMouseOver={showTooltip}
onMouseLeave={hideTooltip} onMouseLeave={hideTooltip}

View file

@ -1765,6 +1765,7 @@
"%(members)s and %(last)s": "%(members)s and %(last)s", "%(members)s and %(last)s": "%(members)s and %(last)s",
"Seen by %(count)s people|other": "Seen by %(count)s people", "Seen by %(count)s people|other": "Seen by %(count)s people",
"Seen by %(count)s people|one": "Seen by %(count)s person", "Seen by %(count)s people|one": "Seen by %(count)s person",
"Read receipts": "Read receipts",
"Recently viewed": "Recently viewed", "Recently viewed": "Recently viewed",
"Replying": "Replying", "Replying": "Replying",
"Room %(name)s": "Room %(name)s", "Room %(name)s": "Room %(name)s",