Added aria-hidden to JSON editor message.

This commit is contained in:
orangemug 2020-05-21 09:20:47 +01:00
parent 7db675e0d1
commit 9e1c0e4c82

View file

@ -159,7 +159,7 @@ class JSONEditor extends React.Component {
style.maxHeight = this.props.maxHeight;
}
return <div className="JSONEditor" onPointerDown={this.onPointerDown}>
return <div className="JSONEditor" onPointerDown={this.onPointerDown} aria-hidden="true">
<div class={classnames("JSONEditor__message", {"JSONEditor__message--on": showMessage})}>
Press <kbd>ESC</kbd> to lose focus
</div>