[wp-trac] [WordPress Trac] #39096: Placeholder Text in input field not fully visible

WordPress Trac noreply at wordpress.org
Sat Jan 21 15:25:31 UTC 2017


#39096: Placeholder Text in input field not fully visible
---------------------------------------------------+--------------------
 Reporter:  Presskopp                              |       Owner:
     Type:  defect (bug)                           |      Status:  new
 Priority:  normal                                 |   Milestone:  4.7.2
Component:  Customize                              |     Version:  3.8
 Severity:  normal                                 |  Resolution:
 Keywords:  has-ui-feedback has-patch 2nd-opinion  |     Focuses:
---------------------------------------------------+--------------------

Comment (by afercia):

 Replying to [comment:6 westonruter]:
 > Instead of the placeholder being a label, what about a sample value?
 Like `#21759b…`?
 I'd totally second this, since placeholders should not be used as
 replacements for field labels. [http://www.w3.org/TR/html5/forms.html#the-
 placeholder-attribute From the specs]:
  The placeholder attribute represents a short hint (a word or short
 phrase) intended to aid the user with data entry when the control has no
 value. A hint could be a sample value or a brief description of the
 expected format.
  ...
  Note: Use of the placeholder attribute as a replacement for a label can
 reduce the accessibility and usability of the control ...

 Other references:

 [http://www.nngroup.com/articles/form-design-placeholders/ Nielsen Norman
 Group: Placeholders in Form Fields Are Harmful]

 [http://www.paciellogroup.com/blog/2011/02/html5-accessibility-chops-the-
 placeholder-attribute/ The Paciello Group: HTML5 Accessibility Chops: the
 placeholder attribute]

 [http://www.456bereastreet.com/archive/201204/the_html5_placeholder_attribute_is_not_a_substitute_for_the_label_element/
 Roger Johansson: The HTML5 placeholder attribute is not a substitute for
 the label element]

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39096#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list