Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update visuallyhidden to be hyphenated #341

Merged
merged 1 commit into from
Oct 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions app/views/examples/example_radios_checkboxes.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h1 class="heading-large">
<div class="form-group">
<fieldset>

<legend class="visuallyhidden">What is your nationality?</legend>
<legend class="visually-hidden">What is your nationality?</legend>

<label for="nationality_british" class="block-label">
<input type="checkbox" name="nationality_british" value="British" id="nationality_british">
Expand Down Expand Up @@ -69,7 +69,7 @@ <h1 class="heading-large">
<div class="form-group">
<fieldset>

<legend class="visuallyhidden">
<legend class="visually-hidden">
Where should we send your new passport?
</legend>

Expand All @@ -91,7 +91,7 @@ <h2 class="heading-medium">

<fieldset>

<legend class="visuallyhidden">
<legend class="visually-hidden">
Your other address
</legend>

Expand All @@ -101,7 +101,7 @@ <h2 class="heading-medium">
</div>

<div class="form-group">
<label class="form-label visuallyhidden" for="address-line-2">Street</label>
<label class="form-label visually-hidden" for="address-line-2">Street</label>
<input type="text" class="form-control" id="address-line-2">
</div>

Expand Down Expand Up @@ -132,7 +132,7 @@ <h1 class="heading-large">
<div class="form-group">
<fieldset>

<legend class="visuallyhidden">
<legend class="visually-hidden">
Which part of the Housing Act was your licence isued under?
</legend>

Expand Down
2 changes: 1 addition & 1 deletion app/views/snippets/form_checkboxes.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ <h3 class="heading-medium">Which types of waste do you transport regularly?</h3>
<form>
<fieldset>

<legend class="visuallyhidden">Which types of waste do you transport regularly?</legend>
<legend class="visually-hidden">Which types of waste do you transport regularly?</legend>

<label class="block-label" for="waste-type-1">
<input id="waste-type-1" name="waste-types" type="checkbox" value="waste-animal">
Expand Down
2 changes: 1 addition & 1 deletion app/views/snippets/form_inset_checkboxes.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h1 class="heading-medium">
<div class="form-group">
<fieldset>

<legend class="visuallyhidden">What is your nationality?</legend>
<legend class="visually-hidden">What is your nationality?</legend>

<label class="block-label" for="nationalities-british">
<input id="nationalities-british" name="nationalities" type="checkbox" value="British">
Expand Down
2 changes: 1 addition & 1 deletion app/views/snippets/form_inset_radios.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h1 class="heading-medium">
<div class="form-group">
<fieldset>

<legend class="visuallyhidden">How do you want to be contacted?</legend>
<legend class="visually-hidden">How do you want to be contacted?</legend>

<label class="block-label" data-target="contact-by-email" for="example-contact-by-email">
<input id="example-contact-by-email" type="radio" name="radio-contact-group" value="Yes">
Expand Down
2 changes: 1 addition & 1 deletion app/views/snippets/form_radio_buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ <h1 class="heading-medium">Where do you live?</h1>
<div class="form-group">
<fieldset>

<legend class="visuallyhidden">Where do you live?</legend>
<legend class="visually-hidden">Where do you live?</legend>

<label class="block-label" for="radio-1">
<input id="radio-1" type="radio" name="radio-group" value="Northern Ireland">
Expand Down
2 changes: 1 addition & 1 deletion app/views/snippets/form_radio_buttons_inline.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h1 class="heading-medium">
<div class="form-group">
<fieldset class="inline">

<legend class="visuallyhidden">Do you already have a personal user account?</legend>
<legend class="visually-hidden">Do you already have a personal user account?</legend>

<label class="block-label" for="radio-inline-1">
<input id="radio-inline-1" type="radio" name="radio-inline-group" value="Yes">
Expand Down
2 changes: 1 addition & 1 deletion app/views/snippets/form_radio_inline_yes_no.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h1 class="heading-medium">
<div class="form-group">
<fieldset class="inline">

<legend class="visuallyhidden">Do you yes/no?</legend>
<legend class="visually-hidden">Do you yes/no?</legend>

<label class="block-label" data-target="yes-and-do-next" for="radio-yes-no-yes">
<input id="radio-yes-no-yes" type="radio" name="yes-no-group" value="Yes">
Expand Down
2 changes: 1 addition & 1 deletion app/views/snippets/typography_legal_text.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="notice">
<i class="icon icon-important">
<span class="visuallyhidden">Warning</span>
<span class="visually-hidden">Warning</span>
</i>
<strong class="bold-small">
You can be fined up to £5,000 if you don’t register.
Expand Down