Skip to content

Commit

Permalink
Aria labels for checkboxes
Browse files Browse the repository at this point in the history
original: bc1aa00
  • Loading branch information
alycejenni committed Nov 17, 2022
1 parent 5a4a82c commit cd802da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ this.ckan.module('table-selectable-rows', function($) {
initialize: function() {
$.proxyAll(this, /_on/);
this.total_checkboxes = $('input[type="checkbox"]', this.el).length;
this.select_all = $('<input type="checkbox">')
this.select_all = $('<input type="checkbox" aria-label="Select all">')
.data('select-all', true)
.appendTo($('thead th:first-child', this.el));
this.el.on('change', 'input[type="checkbox"]', this._onHandleCheckboxToggle);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ckan/templates/organization/bulk_process.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h3 class="page-heading">
{% set notes = h.markdown_extract(package.notes, extract_length=truncate) %}
<tr>
<td>
<input type="checkbox" name="dataset_{{ package.id }}">
<input type="checkbox" name="dataset_{{ package.id }}" aria-label="Select {{ title }}">
</td>
<td class="context">
<a href="{% url_for package.type ~ '.edit', id=package.name %}" class="edit pull-right">
Expand Down

0 comments on commit cd802da

Please sign in to comment.