Skip to content

Files

Latest commit

 

History

History
16 lines (11 loc) · 696 Bytes

react-a11y-role-supports-aria-props.md

File metadata and controls

16 lines (11 loc) · 696 Bytes

Pattern: Malformed ARIA role or attribute

Issue: -

Description

For accessibility of your website, enforce that elements with explicit or implicit roles defined contain only aria-* properties supported by that role. Many ARIA attributes (states and properties) can only be used on elements with particular roles. Some elements have implicit roles, such as <a href='hrefValue' />, which will be resolved to role='link'.

Further Reading