[wp-trac] [WordPress Trac] #55768: Checkboxes not displayed when images are turned off in browser

WordPress Trac noreply at wordpress.org
Wed May 18 20:15:14 UTC 2022

#55768: Checkboxes not displayed when images are turned off in browser
 Reporter:  martiniwebb     |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:  5.3
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  ui, css
Changes (by SergeyBiryukov):

 * version:   => 5.3


 Looks like this CSS rule doesn't work as expected with images turned off:
 input[type="checkbox"]:checked::before {
         /* Use the "Yes" SVG Dashicon */
         margin: -0.1875rem 0 0 -0.25rem;
         height: 1.3125rem;
         width: 1.3125rem;

 Introduced in [46248] / #47498, reverting that changeset seems to fix the
 issue in my testing. Setting the version accordingly.

 Since it's not an `<img>` HTML tag, an `alt` attribute would probably not
 be applicable here. I think some other way to implement what [46248] aimed
 to achieve could be explored.

Ticket URL: <https://core.trac.wordpress.org/ticket/55768#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list