Skip to content

Commit

Permalink
Remove unreadable alt attribute from the room status bar warning icon…
Browse files Browse the repository at this point in the history
… (nonsense to screenreaders) (#10402)

And the other content like the title already describe what's going on sufficiently.

Split out from matrix-org/matrix-react-sdk#8354
  • Loading branch information
MadLittleMods authored and toomore committed Apr 6, 2023
1 parent 82ec2ce commit 86f913b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/structures/RoomStatusBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,7 @@ export default class RoomStatusBar extends React.PureComponent<IProps, IState> {
src={require("../../../res/img/feather-customised/warning-triangle.svg").default}
width="24"
height="24"
title="/!\ "
alt="/!\ "
alt=""
/>
<div>
<div className="mx_RoomStatusBar_connectionLostBar_title">
Expand Down

0 comments on commit 86f913b

Please sign in to comment.