Skip to content

Commit

Permalink
Add aria-labelledby to file input
Browse files Browse the repository at this point in the history
  • Loading branch information
hnryjmes committed Jan 7, 2025
1 parent 20a95c5 commit 695a636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lite_forms/templates/components/file_upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
</div>
<span class="govuk-hint">You can replace the uploaded file below:</span>
{% endif %}
<input id="{{ name }}" type="file" name="{{ name }}" accept='{{ accept|join:"," }}' />
<input aria-labelledby="span--hint" id="{{ name }}" type="file" name="{{ name }}" accept='{{ accept|join:"," }}' />

0 comments on commit 695a636

Please sign in to comment.