Skip to content

Commit

Permalink
Merge pull request #136 from hmcts/download-files-accessability
Browse files Browse the repository at this point in the history
Add aria-label to download files links
  • Loading branch information
dtaylor7 authored Aug 20, 2019
2 parents 58a258b + 27b7850 commit 0c5279b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hmcts/look-and-feel",
"description": "One question per page apps made easy",
"version": "4.0.3",
"version": "4.0.4",
"main": "./src/main.js",
"dependencies": {
"babel-core": "^6.26.0",
Expand Down
2 changes: 1 addition & 1 deletion templates/look-and-feel/components/document-list.njk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<ul class="govuk-list govuk-body govuk-!-font-size-16">
{%- for document in documents -%}
<li>
<a class="govuk-link" href="{{ document.uri }}" target="_blank">
<a class="govuk-link" href="{{ document.uri }}" aria-label="This link will download the file {{ content[document.type] }} {{ document.fileType | upper }}" target="_blank">
<span class="govuk-download__icon" aria-hidden="true"><span class="visually-hidden">Download</span></span>{{ content[document.type] }} ({{ document.fileType | upper }})
</a>
</li>
Expand Down

0 comments on commit 0c5279b

Please sign in to comment.