Skip to content

Commit

Permalink
Merge pull request #14381 from craftcms/feature/cms-345-upload-files-…
Browse files Browse the repository at this point in the history
…button-text-does-not-match-accessible-text

Upload files button aria-label
  • Loading branch information
brandonkelly authored Feb 15, 2024
2 parents 9259bb8 + 8dd1d05 commit 57b4186
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/cp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/cp.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/web/assets/cp/src/js/AssetIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ Craft.AssetIndex = Craft.BaseElementIndex.extend(
class: 'btn submit',
'data-icon': 'upload',
style: 'position: relative; overflow: hidden;',
'aria-label': Craft.t('app', 'Upload files'),
text: Craft.t('app', 'Upload files'),
});
this.addButton(this.$uploadButton);
Expand Down

0 comments on commit 57b4186

Please sign in to comment.