Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #137 from communitiesuk/FS-2164-search-label
Browse files Browse the repository at this point in the history
Fs 2164, Fs 2164 aria labels
  • Loading branch information
adamdavies1 authored Jan 13, 2023
2 parents 2a001cf + 7b83bcb commit aa0f881
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<option value='{{ item }}' {% if query_params.status == item %} selected=""{%endif%}>{{assessment_statuses[item]}}</option>
{% endfor %}
</select>
<button class="govuk-button search-button" aria-lbel = "Search" type="submit">Search</button>
<button class="govuk-button search-button" aria-label="Search" type="submit">Search</button>
</div>
</form>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/assess/templates/macros/scores.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="govuk-radios" data-module="govuk-radios">
{% for score, description in score_list %}
<div class="govuk-radios__item">
<input class="govuk-radios__input" id={{"score-{}".format(score)}} name={{score_form_name}}
<input class="govuk-radios__input" aria-label="Scoring" id={{"score-{}".format(score)}} name={{score_form_name}}
type="radio" value={{score}}>
<label class="govuk-label govuk-radios__label" for={{score_form_name}}>
<span class="govuk-!-font-weight-bold">{{score}}</span> {{description}}
Expand Down

0 comments on commit aa0f881

Please sign in to comment.