Enforce that aria-hidden="true"
is not set on focusable elements.
aria-hidden="true"
can be used to hide purely decorative content from screen reader users. An element with aria-hidden="true"
that can also be reached by keyboard can lead to confusion or unexpected behavior for screen reader users. Avoid using aria-hidden="true"
on focusable elements.
```jsx
// tabIndex=-1
removes the element from sequential focus navigation so we don't flag it.
// This is also bad but will not be handled by this rule. ```
```jsx
```
General best practice (reference resources)