Pattern: Malformed ARIA role or attribute
Issue: -
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'
.