[wp-trac] [WordPress Trac] #42780: Custom HTML Widget Linter should show error if checkbox doesn't have associated <label>
WordPress Trac
noreply at wordpress.org
Thu Dec 7 06:42:55 UTC 2017
#42780: Custom HTML Widget Linter should show error if checkbox doesn't have
associated <label>
-------------------------+---------------------------------
Reporter: shooper | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: accessibility, rtl
-------------------------+---------------------------------
Comment (by westonruter):
You could write a custom [https://github.com/yaniswang/HTMLHint HTMLHint]
rule to enforce this, but a warning is probably better than an error.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42780#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list