[wp-trac] [WordPress Trac] #47138: Visible labelling only done via placeholder attribute

WordPress Trac noreply at wordpress.org
Mon Oct 7 12:19:41 UTC 2019


#47138: Visible labelling only done via placeholder attribute
-------------------------------------------------+-------------------------
 Reporter:  anevins                              |       Owner:  audrasjb
     Type:  task (blessed)                       |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.3
Component:  Media                                |     Version:
 Severity:  minor                                |  Resolution:
 Keywords:  has-screenshots wpcampus-report      |     Focuses:  ui,
  form-controls has-patch commit                 |  accessibility
-------------------------------------------------+-------------------------

Comment (by afercia):

 [attachment:"47138.4.diff"] resets the search input field 1 pixel margin
 to improve alignment with its label. See screenshot below.

 Note: there are probably historical reasons for this 1 pixel margin
 applied to all the `input` and `select` elements in `forms.css` but it's
 extremely annoying when it comes to properly align elements. I'm not sure
 there are good reasons to keep it and I'd like to propose to audit it for
 the next release cycle.

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


More information about the wp-trac mailing list