aria-props

April 25, 2018 ยท View on GitHub

Elements cannot use an invalid ARIA attribute. This will fail if it finds an aria-* property that is not listed in WAI-ARIA States and Properties spec.

Rule details

This rule takes no arguments.

Succeed

<input aria-labelledby="address_label">

Fail

<input aria-labeledby="address_label"> <!-- Bad: Labeled using incorrectly spelled aria-labeledby -->