mirror of
https://github.com/maputnik/editor.git
synced 2026-08-24 14:07:33 +00:00
Added aria-hidden to JSON editor message.
This commit is contained in:
@@ -159,7 +159,7 @@ class JSONEditor extends React.Component {
|
|||||||
style.maxHeight = this.props.maxHeight;
|
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})}>
|
<div class={classnames("JSONEditor__message", {"JSONEditor__message--on": showMessage})}>
|
||||||
Press <kbd>ESC</kbd> to lose focus
|
Press <kbd>ESC</kbd> to lose focus
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user