From 112993128d48e0c1c6679260b8cbbdd16308a490 Mon Sep 17 00:00:00 2001 From: Phillip Rak Date: Wed, 5 Feb 2025 10:59:19 -0700 Subject: [PATCH] Add aria label yaml editor for Import YAML Signed-off-by: Phillip Rak --- shell/assets/translations/en-us.yaml | 2 ++ shell/components/YamlEditor.vue | 1 + 2 files changed, 3 insertions(+) diff --git a/shell/assets/translations/en-us.yaml b/shell/assets/translations/en-us.yaml index 03872ec9708..22822b243d9 100644 --- a/shell/assets/translations/en-us.yaml +++ b/shell/assets/translations/en-us.yaml @@ -2744,6 +2744,8 @@ hpa: import: title: Import YAML + editor: + label: YAML Editor defaultNamespace: label: Default Namespace success: |- diff --git a/shell/components/YamlEditor.vue b/shell/components/YamlEditor.vue index 4d2d0a0da25..6a089334b47 100644 --- a/shell/components/YamlEditor.vue +++ b/shell/components/YamlEditor.vue @@ -126,6 +126,7 @@ export default { cm.indentSelection('subtract'); } }, + screenReaderLabel: this.t('import.editor.label'), // @TODO find a better way to display the outline // foldOptions: { // widget: (from, to) => {