Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 636 Bytes

aria-props.md

File metadata and controls

22 lines (16 loc) · 636 Bytes

aria-props

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

<!-- Good: Labeled using correctly spelled aria-labelledby -->
<div id="address_label">Enter your address</div>
<input aria-labelledby="address_label">

Fail

<!-- Bad: Labeled using incorrectly spelled aria-labeledby -->
<div id="address_label">Enter your address</div>
<input aria-labeledby="address_label">