[wp-trac] [WordPress Trac] #40331: The placeholder attribute should not be used as a replacement for a label

WordPress Trac noreply at wordpress.org
Tue Feb 27 19:17:08 UTC 2024


#40331: The placeholder attribute should not be used as a replacement for a label
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:  joedolson
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  6.6
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots a11y-task has-patch  |     Focuses:  ui,
                                                 |  accessibility
-------------------------------------------------+-------------------------
Changes (by sabernhardt):

 * keywords:  has-screenshots a11y-task has-patch commit => has-screenshots
     a11y-task has-patch
 * milestone:  6.5 => 6.6


Comment:

 I was not able to test all of the fields, but I made a few edits:
 - Removed empty `vertical-align` from `.themes-filter-bar .wp-filter-
 search label` (the label has `middle` alignment, which seems fine).
 - Moved the Customizer search icon's `top: 6px` from the 900px breakpoint
 to 782px, where the input changes height.
 - Removed the unit from `0` in the `column-gap` value from `media.css`.
 - Added the leading zero to `column-gap` for `p.search-box`.

 It's also very late in the cycle to make so many changes.

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


More information about the wp-trac mailing list