Skip to content

Commit

Permalink
Use our standards around visually hidden content
Browse files Browse the repository at this point in the history
* Use `visually-hidden` class, not `visuallyhidden`
* Move space from outside to inside visually hidden content
  • Loading branch information
selfthinker committed Jun 2, 2017
1 parent da9e9a6 commit d90f915
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/views/examples/check-your-answers-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2 class="heading-medium">
</dd>
<dd class="cya-change">
<a href="#">
Change <span class="visuallyhidden">name</span>
Change<span class="visually-hidden"> name</span>
</a>
</dd>
</div>
Expand All @@ -48,7 +48,7 @@ <h2 class="heading-medium">
</dd>
<dd class="cya-change">
<a href="#">
Change <span class="visuallyhidden">date of birth</span>
Change<span class="visually-hidden"> date of birth</span>
</a>
</dd>
</div>
Expand All @@ -64,7 +64,7 @@ <h2 class="heading-medium">
</dd>
<dd class="cya-change">
<a href="#">
Change <span class="visuallyhidden">home address</span>
Change<span class="visually-hidden"> home address</span>
</a>
</dd>
</div>
Expand All @@ -79,7 +79,7 @@ <h2 class="heading-medium">
</dd>
<dd class="cya-change">
<a href="#">
Change <span class="visuallyhidden">contact details</span>
Change<span class="visually-hidden"> contact details</span>
</a>
</dd>
</div>
Expand All @@ -100,7 +100,7 @@ <h2 class="heading-medium">
</dd>
<dd class="cya-change">
<a href="#">
Change <span class="visuallyhidden">previous application number</span>
Change<span class="visually-hidden"> previous application number</span>
</a>
</dd>
</div>
Expand All @@ -114,7 +114,7 @@ <h2 class="heading-medium">
</dd>
<dd class="cya-change">
<a href="#">
Change <span class="visuallyhidden">licence type</span>
Change<span class="visually-hidden"> licence type</span>
</a>
</dd>
</div>
Expand All @@ -130,7 +130,7 @@ <h2 class="heading-medium">
</dd>
<dd class="cya-change">
<a href="#">
Change <span class="visuallyhidden">home address</span>
Change<span class="visually-hidden"> home address</span>
</a>
</dd>
</div>
Expand All @@ -145,7 +145,7 @@ <h2 class="heading-medium">
</dd>
<dd class="cya-change">
<a href="#">
Change <span class="visuallyhidden">licence period</span>
Change<span class="visually-hidden"> licence period</span>
</a>
</dd>
</div>
Expand Down

0 comments on commit d90f915

Please sign in to comment.