[wp-trac] [WordPress Trac] #47498: Revise checkbox/radio button css for better compatibility with text zoom
WordPress Trac
noreply at wordpress.org
Mon Aug 26 09:58:09 UTC 2019
#47498: Revise checkbox/radio button css for better compatibility with text zoom
-------------------------------------------------+-------------------------
Reporter: kjellr | Owner: audrasjb
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.3
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch wpcampus-report form- | Focuses: ui,
controls color-contrast | accessibility
-------------------------------------------------+-------------------------
Comment (by afercia):
Looking at this after some time. While the current patch fixes the
position of the checkmark, radio buttons and checkboxes still don't scale
with text zoom (see screenshot attached below).
Re-defining all the metrics using `em` (or `rem`) like in
[http://adrianroselli.com/2017/05/under-engineered-custom-radio-buttons-
and-checkboxen.html this technique from Adrian Roselli], would allow these
controls to scale together with text when zooming only text (e.g. with
Firefox) or when increasing the default font size from the operating
system settings. Is there already a ticket for this?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47498#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list