WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #19579, comment 5


Ignore:
Timestamp:
12/16/2011 04:09:32 PM (6 years ago)
Author:
toscho
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19579, comment 5

    initial v1  
    22> I'm open to direction on this. Basically, I just incorporated #16538. What's the best approach?
    33
    4 For a simple search field, the best approach is to leave the `placeholder``out. The UI has to work without `placeholder`anyway, because not all browsers support it. You cannot [http://stackoverflow.com/a/2610741/299509 style the `placeholder`] in all browsers – and risk bad contrasts.
     4For a simple search field, the best approach is to leave the `placeholder` out. The UI has to work without `placeholder`anyway, because not all browsers support it. You cannot [http://stackoverflow.com/a/2610741/299509 style the `placeholder`] in all browsers – and risk bad contrasts.
    55`placeholder` may be useful for difficult forms (taxes etc.), but a clearly labeled search form doesn’t need it. The filter for additional attributes is good enough.
     6
    67
    78> > There should be a space between the input elements.