Skip to content

Commit

Permalink
Update to use more specific aria-labelledby attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
hnryjmes committed Jan 7, 2025
1 parent 695a636 commit 1776f28
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 aria-labelledby="span--hint" id="{{ name }}" type="file" name="{{ name }}" accept='{{ accept|join:"," }}' />
<input aria-labelledby="span-{{ page.single_form_element.name }}-hint" id="{{ name }}" type="file" name="{{ name }}" accept='{{ accept|join:"," }}' />

0 comments on commit 1776f28

Please sign in to comment.