Skip to content

Commit c8de32f

Browse files
authored
Merge pull request #4735 from uclixnjupyternbaccessibility/issue-#3939
Label is missing for form textarea element on notebook page: issue #3939
2 parents f48caac + 76c39dc commit c8de32f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

notebook/static/notebook/js/codecell.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ define([
178178
cell: this,
179179
notebook: this.notebook});
180180
inner_cell.append(this.celltoolbar.element);
181-
var input_area = $('<div/>').addClass('input_area');
181+
var input_area = $('<div/>').addClass('input_area').attr("aria-label", i18n.msg._("Edit code here"));
182182
this.code_mirror = new CodeMirror(input_area.get(0), this._options.cm_config);
183183
// In case of bugs that put the keyboard manager into an inconsistent state,
184184
// ensure KM is enabled when CodeMirror is focused:

notebook/static/notebook/js/textcell.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ define([
9898
cell: this,
9999
notebook: this.notebook});
100100
inner_cell.append(this.celltoolbar.element);
101-
var input_area = $('<div/>').addClass('input_area');
101+
var input_area = $('<div/>').addClass('input_area').attr("aria-label", i18n.msg._("Edit Markup Text here"));
102102
this.code_mirror = new CodeMirror(input_area.get(0), this._options.cm_config);
103103
// In case of bugs that put the keyboard manager into an inconsistent state,
104104
// ensure KM is enabled when CodeMirror is focused:

0 commit comments

Comments
 (0)