-
-
Notifications
You must be signed in to change notification settings - Fork 644
Open
Description
For example:
<Image role="img" />
From the docs, it seems like it's supposed to only target HTML elements, but currently it also reports failures on React components.
Just because a component has a role
prop with values that happen to match one of the ARIA roles, it is not enough to suggest replacing such a component with a native HTML element. There is no way of knowing what the component does with the prop internally, or if it even makes it to a HTML element role attribute.
Metadata
Metadata
Assignees
Labels
No labels