mirror of https://github.com/vector-im/riot-web
aria-hide the notifications badge on room tiles as we have manual labels here
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
a68e23c9e0
commit
7c29a53ebd
|
@ -397,8 +397,9 @@ export default class RoomTile2 extends React.Component<IProps, IState> {
|
|||
|
||||
let badge: React.ReactNode;
|
||||
if (!this.props.isMinimized) {
|
||||
// aria-hidden because we summarise the unread count/highlight status in a manual aria-label below
|
||||
badge = (
|
||||
<div className="mx_RoomTile2_badgeContainer">
|
||||
<div className="mx_RoomTile2_badgeContainer" aria-hidden="true">
|
||||
<NotificationBadge
|
||||
notification={this.state.notificationState}
|
||||
forceCount={false}
|
||||
|
|
Loading…
Reference in New Issue