Markup validation
-
Hi – thanks for your plugin, works really well and I personally think helps UX considerably.
I know that validation (W3C) isn’t everything, but pretty much the only bit of my site that doesn’t validate is the quantity buttons generated by ‘SMNTCS WooCommerce Quantity Buttons’.
3 errors:
– Attribute ‘size’ not allowed on element input
– Attribute ‘pattern’ is only allowed when the input type is email, password, search, tel, text, or url
– The value of the for attribute of the label element must be the ID of a non-hidden form control. (this is for the screen reader text on the <label> element)1 warning:
– The ‘inputmode’ attribute is not supported in all browsersIt’d be fantastic if this could be addressed for a future update.
Many thanks
// EDIT:
Just spotted that the quantity field mark-up in your pluginis similar to that generated by the default quantity-input.php template in WooCommerce – they both produce the validation errors. Appologies as it seems your plugin is not the root of the cause, but it would still great if could be fixed! Many thanks
- The topic ‘Markup validation’ is closed to new replies.