From 047b61c1237add6a6d86795496d2e80b617dba14 Mon Sep 17 00:00:00 2001 From: Tim Mok Date: Fri, 24 Jan 2025 10:10:11 -0500 Subject: [PATCH] Add aria label to open plot in editor dropdown --- .../browser/components/openInEditorMenuButton.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/positronPlots/browser/components/openInEditorMenuButton.tsx b/src/vs/workbench/contrib/positronPlots/browser/components/openInEditorMenuButton.tsx index 204979b97f6..9b6a5784daa 100644 --- a/src/vs/workbench/contrib/positronPlots/browser/components/openInEditorMenuButton.tsx +++ b/src/vs/workbench/contrib/positronPlots/browser/components/openInEditorMenuButton.tsx @@ -81,6 +81,9 @@ export const OpenInEditorMenuButton = (props: OpenInEditorMenuButtonProps) => { tooltip={props.tooltip} ariaLabel={props.ariaLabel} actions={() => actions} - dropdownIndicator='enabled-split' /> + dropdownIndicator='enabled-split' + dropdownAriaLabel={localize('positron-editor-open-in-editor-dropdown', 'Select where to open plot')} + dropdownTooltip={localize('positron-editor-open-in-editor-dropdown', 'Select where to open plot')} + /> ); };