[wp-trac] [WordPress Trac] #28867: Correctly label forms in wp_list_table

WordPress Trac noreply at wordpress.org
Tue Aug 5 21:42:17 UTC 2014


#28867: Correctly label forms in wp_list_table
----------------------------------+-----------------------------
 Reporter:  joedolson             |       Owner:  wonderboymusic
     Type:  defect (bug)          |      Status:  reviewing
 Priority:  normal                |   Milestone:  4.0
Component:  Administration        |     Version:  trunk
 Severity:  normal                |  Resolution:
 Keywords:  has-patch needs-docs  |     Focuses:  accessibility
----------------------------------+-----------------------------

Comment (by joedolson):

 I don't know that there's a ready way to guarantee that it holds the value
 expected; but I think that having it optional is at least reasonable,
 since we need to pass something.

 If it's optional and not supplied, the inputs will potentially be
 invalidly labeled due to a repetitive ID value. This would still leave
 them better labeled than they were prior to this patch, and would not be a
 regression for old code -- since old code was in an environment that was
 never correctly labeled in the first place.

 Speaking for myself, I think that having the variable be optional is the
 best option we have right now, and I would accept it.

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


More information about the wp-trac mailing list