Skip to content

Commit

Permalink
Slightly better presentation of read receipts to screen reader users (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
pvagner committed May 21, 2022
1 parent e1e87ac commit c1c3ed6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/views/rooms/ReadReceiptGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,12 @@ export function ReadReceiptGroup(

return (
<div className="mx_EventTile_msgOption">
<div className="mx_ReadReceiptGroup">
<div className="mx_ReadReceiptGroup" role="group" aria-label={_t("Read receipts")}>
<AccessibleButton
className="mx_ReadReceiptGroup_button"
inputRef={button}
aria-label={tooltipText}
aria-haspopup="true"
onClick={openMenu}
onMouseOver={showTooltip}
onMouseLeave={hideTooltip}
Expand Down
1 change: 1 addition & 0 deletions src/i18n/strings/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -1765,6 +1765,7 @@
"%(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|one": "Seen by %(count)s person",
"Read receipts": "Read receipts",
"Recently viewed": "Recently viewed",
"Replying": "Replying",
"Room %(name)s": "Room %(name)s",
Expand Down

0 comments on commit c1c3ed6

Please sign in to comment.