Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Docs (forms): added missing spaces and replaced special characters by…
Browse files Browse the repository at this point in the history
… regular dashes.
  • Loading branch information
jaspermdegroot committed Sep 26, 2012
1 parent 79331b6 commit 20062ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/forms/docs-forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h2>Mini sized elements</h2>
<input type="text" name="name" id="mini" value="" data-mini="true" />

<h2>Hiding labels accessibly</h2>
<p>For the sake of accessibility, jQuery Mobile requires that all form elements be paired with a meaningful <code>label</code>. To hide labels in a way that leaves them visible to assistive technologiesfor example, when letting an element’s <code>placeholder</code> attribute serve as a labelapply the helper class <code>ui-hidden-accessible</code> to the label itself:</p>
<p>For the sake of accessibility, jQuery Mobile requires that all form elements be paired with a meaningful <code>label</code>. To hide labels in a way that leaves them visible to assistive technologies - for example, when letting an element’s <code>placeholder</code> attribute serve as a label - apply the helper class <code>ui-hidden-accessible</code> to the label itself:</p>
<code>
<pre>
&lt;label for="username" <strong>class="ui-hidden-accessible"</strong>&gt;Username:&lt;/label&gt;
Expand Down

0 comments on commit 20062ab

Please sign in to comment.