[wp-trac] [WordPress Trac] #21516: Make the entire .check-column the click target for the checkbox

WordPress Trac noreply at wordpress.org
Fri Apr 14 15:23:13 UTC 2023


#21516: Make the entire .check-column the click target for the checkbox
-------------------------------------------------+-------------------------
 Reporter:  mitchoyoshitaka                      |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  6.3
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-ux-feedback needs-patch dev-     |     Focuses:
  feedback needs-refresh                         |  accessibility
-------------------------------------------------+-------------------------
Changes (by joedolson):

 * keywords:  has-ux-feedback needs-patch dev-feedback needs-refresh 2nd-
     opinion => has-ux-feedback needs-patch dev-feedback needs-refresh
 * milestone:  Future Release => 6.3


Comment:

 We think this could be beneficial for accessibility by providing a larger
 click target for users. The JS solution isn't really necessary; if we make
 the label a block-level element filling the table cell & move the screen
 reader text class to an internal span, then we get this behavior for free.

 We may want to add some kind of hover state to provide affordance that the
 entire cell is clickable, although the mouse cursor will provide a clue
 there.

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


More information about the wp-trac mailing list