[wp-trac] [WordPress Trac] #62548: Move checkbox input outside of the wrapping `label` element.
WordPress Trac
noreply at wordpress.org
Fri Dec 6 10:09:04 UTC 2024
#62548: Move checkbox input outside of the wrapping `label` element.
----------------------------+----------------------------
Reporter: kkmuffme | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.8
Component: Administration | Version:
Severity: trivial | Resolution:
Keywords: has-patch | Focuses: accessibility
----------------------------+----------------------------
Comment (by benazeer):
Thank you for pointing that out.
Since there’s no impact on styles by moving the input out of the wrapping
label, it makes sense to proceed with this change. This adjustment ensures
better markup semantics without affecting the visual output.
I have updated this in recent commit in this PR
https://github.com/WordPress/wordpress-develop/pull/7887
Let me know if there's anything else that needs attention.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62548#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list