Skip to content

Commit af07a08

Browse files
Merge pull request #11 from uclixnjupyternbaccessibility/tunde
jupyter#3955 changed span elements for sort buttons to button elements
2 parents 7abd4c0 + 075831a commit af07a08

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

notebook/templates/tree.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
<div id="notebook_list_header" class="row list_header">
101101
<div class="btn-group dropdown" id="tree-selector">
102102
<button title="{% trans %}Select All / None{% endtrans %}" aria-label="{% trans %}Select All / None{% endtrans %}" type="button" class="btn btn-default btn-xs" id="button-select-all" role="checkbox">
103-
<input type="checkbox" class="pull-left tree-selector" id="select-all"><span id="counter-select-all">&nbsp;</span></input>
103+
<input type="checkbox" class="pull-left tree-selector" id="select-all" tabindex="-1"><span id="counter-select-all">&nbsp;</span></input>
104104
</button>
105105
<button title="{% trans %}Select Folders/All Notebooks/Running/Files {% endtrans %}" class="btn btn-default btn-xs dropdown-toggle" type="button" id="tree-selector-btn" data-toggle="dropdown" aria-expanded="true">
106106
<span class="caret"></span>
@@ -122,22 +122,22 @@
122122
</ul>
123123
</div>
124124
<div id="file_size" class="pull-right sort_button">
125-
<span class="btn btn-xs btn-default sort-action" id="file-size">
125+
<button type="button" class="btn btn-xs btn-default sort-action" id="file-size" aria-label="{% trans %}Sort by file size{% endtrans %}">
126126
{% trans %}File size{% endtrans %}
127127
<i class="fa"></i>
128-
</span>
128+
</button>
129129
</div>
130130
<div id="last_modified" class="pull-right sort_button">
131-
<span class="btn btn-xs btn-default sort-action" id="last-modified">
131+
<button type="button" class="btn btn-xs btn-default sort-action" id="last-modified" aria-label="{% trans %}Sort by last modified{% endtrans %}">
132132
{% trans %}Last Modified{% endtrans %}
133133
<i class="fa"></i>
134-
</span>
134+
</button>
135135
</div>
136136
<div id="sort_name" class="pull-right sort_button">
137-
<span class="btn btn-xs btn-default sort-action" id="sort-name">
137+
<button type="button" class="btn btn-xs btn-default sort-action" id="sort-name" aria-label="{% trans %}Sort by name{% endtrans %}">
138138
{% trans %}Name{% endtrans %}
139139
<i class="fa fa-arrow-down"></i>
140-
</span>
140+
</button>
141141
</div>
142142
</div>
143143
</div>

0 commit comments

Comments
 (0)