Skip to content

Commit

Permalink
fix: update aria-roledescription gutter (#5718)
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Koreman <[email protected]>
  • Loading branch information
akoreman and Alice Koreman authored Jan 16, 2025
1 parent 85f01ca commit 7ae3a4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -2987,7 +2987,7 @@ config.defineOptions(Editor.prototype, "editor", {
this.renderer.$gutter.setAttribute("tabindex", 0);
this.renderer.$gutter.setAttribute("aria-hidden", false);
this.renderer.$gutter.setAttribute("role", "group");
this.renderer.$gutter.setAttribute("aria-roledescription", nls("editor.gutter.aria-roledescription", "editor"));
this.renderer.$gutter.setAttribute("aria-roledescription", nls("editor.gutter.aria-roledescription", "editor gutter"));
this.renderer.$gutter.setAttribute("aria-label",
nls("editor.gutter.aria-label", "Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")
);
Expand Down
2 changes: 1 addition & 1 deletion src/lib/default_english_messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var defaultEnglishMessages = {
"autocomplete.loading": "Loading...",
"editor.scroller.aria-roledescription": "editor",
"editor.scroller.aria-label": "Editor content, press Enter to start editing, press Escape to exit",
"editor.gutter.aria-roledescription": "editor",
"editor.gutter.aria-roledescription": "editor gutter",
"editor.gutter.aria-label": "Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit",
"error-marker.good-state": "Looks good!",
"prompt.recently-used": "Recently used",
Expand Down

0 comments on commit 7ae3a4c

Please sign in to comment.