Skip to content

Commit

Permalink
Update form example
Browse files Browse the repository at this point in the history
  • Loading branch information
sawyerh committed Jun 4, 2017
1 parent a0774cf commit 8fcd820
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/form/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ <h2 class="ds-c-alert__heading">1 error with your application</h2>
</label>
<input class="ds-c-field ds-c-field--error" id="input-lastname" name="lastname" type="text" />

<h3 class="ds-c-label">Which days can we call you?</h3>
<span class="ds-c-field__hint">Select all days that would work for you</span>
<fieldset class="ds-c-fieldset">
<legend class="ds-u-visibility--screen-reader">Which days can we call you?</legend>
<legend class="ds-c-label">Which days can we call you?</legend>
<span class="ds-c-field__hint">Select all days that would work for you</span>

<input class="ds-c-choice" id="input-monday" type="checkbox" name="day" value="monday">
<label for="input-monday">Monday</label>

Expand All @@ -54,9 +54,9 @@ <h3 class="ds-c-label">Which days can we call you?</h3>
<label class="ds-c-label" for="input-description">Describe your issue</label>
<textarea class="ds-c-field" id="input-description" name="description" rows="6"></textarea>

<h3 class="ds-c-label">Have you contacted us about this issue before?</h3>
<fieldset class="ds-c-fieldset">
<legend class="ds-u-visibility--screen-reader">Have you contacted us about this issue before?</legend>
<legend class="ds-c-label">Have you contacted us about this issue before?</legend>

<input class="ds-c-choice" id="input-yes" type="radio" name="duplicate" value="yes">
<label class="ds-u-display--inline-block ds-u-margin-right--3" for="input-yes">Yes</label>

Expand Down

0 comments on commit 8fcd820

Please sign in to comment.