[wp-trac] [WordPress Trac] #47498: Revise checkbox/radio button css for better compatibility with text zoom

WordPress Trac noreply at wordpress.org
Tue Jul 30 11:40:12 UTC 2019


#47498: Revise checkbox/radio button css for better compatibility with text zoom
-------------------------------------------------+-------------------------
 Reporter:  kjellr                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.3
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-design-feedback      |     Focuses:  ui,
  wpcampus-report form-controls color-contrast   |  accessibility
-------------------------------------------------+-------------------------

Comment (by kjellr):

 Thanks for the background, @afercia.

 ---

 I'm including a second version of the patch that includes the SVG inline,
 to avoid another browser request. The two patches are:

 [attachment:"47498.diff"]: Uses CSS to draw the bullet in radio buttons,
 calls a SVG for the checkmark in checkboxes.

 [attachment:"47498-alternate.diff"]: Uses CSS to draw the bullet in radio
 buttons, uses an inline SVG in the CSS for the checkmark in checkboxes.

 Both remove the dependency on Dashicons. I don't have a strong preference
 for either approach, so happy to hear thoughts from other folks.

 Thanks!

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


More information about the wp-trac mailing list