Skip to content

Commit

Permalink
Fix the branching example markup
Browse files Browse the repository at this point in the history
The `id` and `for` attribute for the 'No' option were not the same so the label was not applied correctly.
  • Loading branch information
NickColley committed Nov 12, 2019
1 parent 0bdd7f5 commit 3186c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/views/examples/branching/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h2 class="govuk-fieldset__heading">
</label>
</div>
<div class="govuk-radios__item">
<input class="govuk-radios__input" id="over18-no" name="over-18" type="radio" value="false">
<input class="govuk-radios__input" id="over-18-no" name="over-18" type="radio" value="false">
<label class="govuk-label govuk-radios__label" for="over-18-no">
No
</label>
Expand Down

0 comments on commit 3186c98

Please sign in to comment.