Skip to content

Commit

Permalink
Aria labels for resource modules
Browse files Browse the repository at this point in the history
original: a89b60f
  • Loading branch information
alycejenni committed Nov 17, 2022
1 parent fa070ce commit 5a4a82c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions ckan/public/base/javascript/modules/resource-reorder.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ this.ckan.module('resource-reorder', function($) {
].join('\n'),
form_actions: [
'<div class="form-actions">',
'<a href="javascript:;" class="cancel btn btn-danger pull-left"></a>',
'<a href="javascript:;" class="save btn btn-primary"></a>',
'<a href="javascript:;" class="cancel btn btn-danger pull-left" aria-label="Cancel"></a>',
'<a href="javascript:;" class="save btn btn-primary" aria-label="Save changes"></a>',
'</div>'
].join('\n'),
handle: [
'<a href="javascript:;" class="handle">',
'<a href="javascript:;" class="handle" aria-label="Click and drag this to move the resource up or down in the list">',,
'<i class="fa fa-arrows"></i>',
'</a>'
].join('\n'),
Expand Down

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

6 changes: 3 additions & 3 deletions ckan/public/base/javascript/modules/resource-view-reorder.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ this.ckan.module('resource-view-reorder', function($) {
].join('\n'),
form_actions: [
'<div class="form-actions">',
'<a href="javascript:;" class="cancel btn btn-danger pull-left"></a>',
'<a href="javascript:;" class="save btn btn-primary"></a>',
'<a href="javascript:;" class="cancel btn btn-danger pull-left" aria-label="Cancel"></a>',
'<a href="javascript:;" class="save btn btn-primary" aria-label="Save changes"></a>',
'</div>'
].join('\n'),
handle: [
'<a href="javascript:;" class="handle">',
'<a href="javascript:;" class="handle" aria-label="Click and drag this to move the view up or down in the list">',
'<i class="fa fa-arrows"></i>',
'</a>'
].join('\n'),
Expand Down

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

0 comments on commit 5a4a82c

Please sign in to comment.