Skip to content

Commit 7dc1a4e

Browse files
Accessibility for Plot Viewer (#6240)
1 parent 3657846 commit 7dc1a4e

12 files changed

Lines changed: 103 additions & 88 deletions

File tree

news/2 Fixes/6020.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Accessibility pass on plot viewer

package.nls.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,5 +271,7 @@
271271
"DataScience.collapseSingle" : "Collapse",
272272
"DataScience.expandSingle" : "Expand",
273273
"DataScience.editSection" : "Input new cells here.",
274-
"DataScience.restartKernelMessageDontAskAgain" : "Yes, and Don't Ask Again"
274+
"DataScience.restartKernelMessageDontAskAgain" : "Yes, and Don't Ask Again",
275+
"DataScience.selectedImageListLabel" : "Selected Image",
276+
"DataScience.imageListLabel" : "Image"
275277
}

src/client/common/utils/localize.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ export namespace DataScience {
200200
export const exportPlot = localize('DataScience.exportPlot', 'Export to different formats');
201201
export const deletePlot = localize('DataScience.deletePlot', 'Remove');
202202
export const editSection = localize('DataScience.editSection', 'Input new cells here.');
203-
203+
export const selectedImageListLabel = localize('DataScience.selectedImageListLabel', 'Selected Image');
204+
export const imageListLabel = localize('DataScience.imageListLabel', 'Image');
204205
}
205206

206207
export namespace DebugConfigStrings {

src/datascience-ui/plot/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
66
<meta name="theme-color" content="#000000">
7-
<title>React App</title>
7+
<title>Python Extension Plot Viewer</title>
88
<base href="<%= htmlWebpackPlugin.options.indexUrl %>">
99
<style id='default-styles'>
1010
:root { --background-color: #ffffff;

0 commit comments

Comments
 (0)