You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Forgot to turn div displaying error text into an aria-alert in the
create group dialog.
This commit is contained in:
@@ -108,7 +108,7 @@ export default React.createClass({
|
|||||||
// XXX: We should catch errcodes and give sensible i18ned messages for them,
|
// 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
|
// rather than displaying what the server gives us, but synapse doesn't give
|
||||||
// any yet.
|
// any yet.
|
||||||
createErrorNode = <div className="error">
|
createErrorNode = <div className="error" role="alert">
|
||||||
<div>{ _t('Something went wrong whilst creating your community') }</div>
|
<div>{ _t('Something went wrong whilst creating your community') }</div>
|
||||||
<div>{ this.state.createError.message }</div>
|
<div>{ this.state.createError.message }</div>
|
||||||
</div>;
|
</div>;
|
||||||
|
|||||||
Reference in New Issue
Block a user