[wp-trac] [WordPress Trac] #49228: Widgets: Checkbox overlap on small screens

WordPress Trac noreply at wordpress.org
Tue Jul 7 08:22:10 UTC 2020


#49228: Widgets: Checkbox overlap on small screens
---------------------------------------+-----------------------------------
 Reporter:  passoniate                 |       Owner:  audrasjb
     Type:  defect (bug)               |      Status:  reopened
 Priority:  normal                     |   Milestone:  5.5
Component:  Widgets                    |     Version:  5.3.2
 Severity:  normal                     |  Resolution:
 Keywords:  has-screenshots has-patch  |     Focuses:  ui, accessibility,
                                       |  css
---------------------------------------+-----------------------------------

Comment (by afercia):

 @sabernhardt your approach makes sense to me! If we agree the extra margin
 should only be set on checkboxes and radio buttons labels, I think we can
 target only them?

 There are inconsistencies in the markup though. For example:
 - in the RSS widget, the checkboxes are wrapped within paragraphs -> extra
 margins
 - in the Categories widget, they aren't

 These inconsistencies should be fixed to reliably set some CSS :)

 Worth also mentioning multiple checkboxes and radio buttons should be
 wrapped in a fieldset element with a legend. This should be addressed in a
 separate ticket.

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


More information about the wp-trac mailing list