Using HTML_CodeSniffer, I'm getting lots of errors for the kendoNumericTextBox because there are text fields (input type=text) that do not have an associated label (using label for). The errors are (for each added textbox):
- This text input element does not have a name available to an accessibility API. Valid names are: label element, title attribute.
- This form field should be labelled in some way. Use the label element (either with a "for" attribute or wrapped around the form field), or "title", "aria-label" or "aria-labelledby" attributes as appropriate.
Note, NumericTextBox passes the 508, but fails at the next level, WCAG 2 A. We're targeting WCAG 2 AA, so this is clearly a fail for us.
I also tried against the demos and get the same error.
How can I get Kendo to render in such a way as to pass WCAG?