Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert "added note to placeholder definition"

This reverts commit 25ae7f8.
  • Loading branch information...
commit e0453ecc32f557459b1652c0fce4999d20c792f8 1 parent 25ae7f8
@stevefaulkner stevefaulkner authored
Showing with 8 additions and 11 deletions.
  1. +8 −11 source
View
19 source
@@ -58579,24 +58579,21 @@ You cannot submit this form when the field is incorrect.</samp></pre>
expected format. The attribute, if specified, must have a value that
contains no U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN (CR)
characters.</p>
-<!-- FORK -->
- <p class="note">Use of the <code title="attr-input-placeholder">placeholder</code>
- attribute as a replacement for a <code>label</code> can reduce the accessibility and usability of the
- control for a range of users including older users and users with cognitive, mobility or vision impairments.</p>
-
<p>The <code title="attr-input-placeholder">placeholder</code>
- attribute should not be used as a replacement for a <code>label</code>.
- For a longer hint or other advisory text, place the text next to the control.</p>
+ attribute should not be used as an alternative to a
+ <code>label</code>. For a longer hint or other advisory text, the
+ <code title="attr-title">title</code> attribute is more
+ appropriate.</p>
<p class="note">These mechanisms are very similar but subtly
- different: the hint given by the control's <code>label</code> and the longer hint or other advisory text is
+ different: the hint given by the control's <code>label</code> is
shown at all times; the short hint given in the <code
title="attr-input-placeholder">placeholder</code> attribute is shown
- before the user enters a value;</p>
+ before the user enters a value; and the hint in the <code
+ title="attr-title">title</code> attribute is shown when the user
+ requests further help.</p>
-
-
<div class="impl">
<p>User agents should present this hint to the user, after having <span title="strip line
Please sign in to comment.
Something went wrong with that request. Please try again.