Skip to content

Commit

Permalink
Add aria label yaml editor for Import YAML
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Rak <[email protected]>
  • Loading branch information
rak-phillip committed Feb 5, 2025
1 parent 5a00f4e commit 1129931
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shell/assets/translations/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2744,6 +2744,8 @@ hpa:

import:
title: Import YAML
editor:
label: YAML Editor
defaultNamespace:
label: Default Namespace
success: |-
Expand Down
1 change: 1 addition & 0 deletions shell/components/YamlEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 1129931

Please sign in to comment.