diff --git a/public/app/angular/components/code_editor/code_editor.ts b/public/app/angular/components/code_editor/code_editor.ts index c6e144249d6..64723b24b64 100644 --- a/public/app/angular/components/code_editor/code_editor.ts +++ b/public/app/angular/components/code_editor/code_editor.ts @@ -99,6 +99,9 @@ async function link(scope: any, elem: any, attrs: any) { const textarea = elem.find('textarea'); textarea.addClass('gf-form-input'); + // All aria-label to be set for accessibility + textarea.attr('aria-label', attrs.textareaLabel); + if (scope.codeEditorFocus) { setTimeout(() => { textarea.focus(); diff --git a/public/app/plugins/datasource/mssql/partials/query.editor.html b/public/app/plugins/datasource/mssql/partials/query.editor.html index a1c71e0ccc8..6919c5ed2c4 100644 --- a/public/app/plugins/datasource/mssql/partials/query.editor.html +++ b/public/app/plugins/datasource/mssql/partials/query.editor.html @@ -1,16 +1,16 @@
- +
- +
- +
diff --git a/public/app/plugins/datasource/mysql/partials/query.editor.html b/public/app/plugins/datasource/mysql/partials/query.editor.html index a04ea7891c2..014135413b6 100644 --- a/public/app/plugins/datasource/mysql/partials/query.editor.html +++ b/public/app/plugins/datasource/mysql/partials/query.editor.html @@ -3,7 +3,7 @@
- +
@@ -102,9 +102,9 @@
- +
- +
diff --git a/public/app/plugins/datasource/postgres/partials/query.editor.html b/public/app/plugins/datasource/postgres/partials/query.editor.html index 13bba6a04d9..ebf670cc4aa 100644 --- a/public/app/plugins/datasource/postgres/partials/query.editor.html +++ b/public/app/plugins/datasource/postgres/partials/query.editor.html @@ -3,7 +3,7 @@
- +
@@ -102,9 +102,9 @@
- +
- +