Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (17 sloc) 534 Bytes

aria-proptypes

ARIA state and property values must be valid.

References

  1. Spec
  2. AX_ARIA_04

Rule details

This rule takes no arguments.

Succeed

<!-- Good: the aria-hidden state is of type true/false -->
<span aria-hidden="true">foo</span>

Fail

<!-- Bad: the aria-hidden state is of type true/false -->
<span aria-hidden="yes">foo</span>
You can’t perform that action at this time.