mirror of
https://github.com/vector-im/element-web.git
synced 2025-11-02 17:21:25 +01:00
Forgot to turn div displaying error text into an aria-alert in the
create group dialog.
This commit is contained in:
parent
eda453bbe5
commit
60ada30680
@ -108,7 +108,7 @@ export default React.createClass({
|
||||
// XXX: We should catch errcodes and give sensible i18ned messages for them,
|
||||
// rather than displaying what the server gives us, but synapse doesn't give
|
||||
// any yet.
|
||||
createErrorNode = <div className="error">
|
||||
createErrorNode = <div className="error" role="alert">
|
||||
<div>{ _t('Something went wrong whilst creating your community') }</div>
|
||||
<div>{ this.state.createError.message }</div>
|
||||
</div>;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user