From 636b0236b666fbe70442f41c7c32c8696548ed2c Mon Sep 17 00:00:00 2001 From: Marco Zehe Date: Wed, 15 Jul 2020 19:02:00 +0200 Subject: [PATCH] Update to use more strict rules for suppressing Signed-off-by: Marco Zehe --- src/components/views/rooms/EventTile.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/components/views/rooms/EventTile.js b/src/components/views/rooms/EventTile.js index d8cd126964..43ab7c6b22 100644 --- a/src/components/views/rooms/EventTile.js +++ b/src/components/views/rooms/EventTile.js @@ -686,8 +686,7 @@ export default createReactClass({ }); // If the tile is in the Sending state, don't speak the message. - const ariaLive = (isSending) ? "off" : undefined; - const ariaBusy = (isSending) ? "true" : undefined; + const ariaLive = (this.props.eventSendStatus !== null) ? 'off' : undefined; let permalink = "#"; if (this.props.permalinkCreator) { @@ -823,7 +822,7 @@ export default createReactClass({ case 'notif': { const room = this.context.getRoom(this.props.mxEvent.getRoomId()); return ( -
+
{ room ? room.name : '' } @@ -849,7 +848,7 @@ export default createReactClass({ } case 'file_grid': { return ( -
+
+
{ ircTimestamp } { avatar } { sender } @@ -915,7 +914,7 @@ export default createReactClass({ // tab-index=-1 to allow it to be focusable but do not add tab stop for it, primarily for screen readers return ( -
+
{ ircTimestamp }
{ readAvatars }