Skip to content

Commit 060af5c

Browse files
committed
jupyter#3955 changed span elements for sort buttons to button elements
1 parent a403d59 commit 060af5c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

notebook/templates/tree.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,22 +119,22 @@
119119
</ul>
120120
</div>
121121
<div id="file_size" class="pull-right sort_button">
122-
<span class="btn btn-xs btn-default sort-action" id="file-size">
122+
<button type="button" class="btn btn-xs btn-default sort-action" id="file-size" aria-label="{% trans %}Sort by file size{% endtrans %}">
123123
{% trans %}File size{% endtrans %}
124124
<i class="fa"></i>
125-
</span>
125+
</button>
126126
</div>
127127
<div id="last_modified" class="pull-right sort_button">
128-
<span class="btn btn-xs btn-default sort-action" id="last-modified">
128+
<button type="button" class="btn btn-xs btn-default sort-action" id="last-modified" aria-label="{% trans %}Sort by last modified{% endtrans %}">
129129
{% trans %}Last Modified{% endtrans %}
130130
<i class="fa"></i>
131-
</span>
131+
</button>
132132
</div>
133133
<div id="sort_name" class="pull-right sort_button">
134-
<span class="btn btn-xs btn-default sort-action" id="sort-name">
134+
<button type="button" class="btn btn-xs btn-default sort-action" id="sort-name" aria-label="{% trans %}Sort by name{% endtrans %}">
135135
{% trans %}Name{% endtrans %}
136136
<i class="fa fa-arrow-down"></i>
137-
</span>
137+
</button>
138138
</div>
139139
</div>
140140
</div>

0 commit comments

Comments
 (0)