Give warning icon better alt

This commit is contained in:
Luke Barnard 2017-05-08 10:02:05 +01:00
parent c783f701dd
commit 5766a6e93d

View File

@ -34,7 +34,12 @@ export default React.createClass({
const AccessibleButton = sdk.getComponent('elements.AccessibleButton');
return (
<div className="mx_MatrixToolbar">
<img className="mx_MatrixToolbar_warning" src="img/warning.svg" width="24" height="23" alt="/!\"/>
<img className="mx_MatrixToolbar_warning"
src="img/warning.svg"
width="24"
height="23"
alt="Warning"
/>
<div className="mx_MatrixToolbar_content">
To be able to return to your account, you need to set a password.
</div>