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

WordPress Trac noreply at wordpress.org
Thu Feb 8 16:52:23 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.5
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots a11y-task has-patch  |     Focuses:  ui,
  needs-refresh                                  |  accessibility
-------------------------------------------------+-------------------------

Comment (by joedolson):

 Note: the combined patch needs a little work, still, but I wanted to get
 an update posted this morning.

 Adding a label in the link modal broke the modal selectors, which were all
 based on firstChild relationships; I think I'm still missing one in the
 above patch, but will take care of that this afternoon.

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


More information about the wp-trac mailing list