diff --git a/client/src/app/tabs/json/CodeMirror.js b/client/src/app/tabs/json/CodeMirror.js index b21c10fe36..4d7fa7204c 100644 --- a/client/src/app/tabs/json/CodeMirror.js +++ b/client/src/app/tabs/json/CodeMirror.js @@ -55,6 +55,9 @@ export default function create() { language, tabSize, searchExtension, + EditorView.contentAttributes.of({ + 'aria-label': 'JSON editor' + }), ...extensions ] }); @@ -153,4 +156,4 @@ export default function create() { }; return instance; -} \ No newline at end of file +} diff --git a/client/src/app/tabs/xml/CodeMirror.js b/client/src/app/tabs/xml/CodeMirror.js index 7615c96ea0..19b0e9f33b 100644 --- a/client/src/app/tabs/xml/CodeMirror.js +++ b/client/src/app/tabs/xml/CodeMirror.js @@ -55,6 +55,9 @@ export default function create() { language, tabSize, searchExtension, + EditorView.contentAttributes.of({ + 'aria-label': 'XML editor' + }), ...extensions ] }); @@ -153,4 +156,4 @@ export default function create() { }; return instance; -} \ No newline at end of file +}