numbas / Numbas

A completely browser-based e-assessment/e-learning system, with an emphasis on mathematics
http://www.numbas.org.uk
Apache License 2.0
197 stars 118 forks source link

WCAG 3.3.1: identify invalid inputs with `aria-invalid` #1032

Closed christianp closed 10 months ago

christianp commented 10 months ago

At the moment, some answer inputs with invalid values have the has-error class. This can't be read by assistive tech. The aria-invalid attribute should be set as well.