You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Badge and Button components both have a role prop that can take the value "secondary". When linting with the jsx/a11y plugin, this results in the following error:
error Elements with ARIA roles must use a valid, non-abstract ARIA role
We should change the name of this prop in these components to something that does not conflict. Maybe rivetrole?
The text was updated successfully, but these errors were encountered:
I think changing it to something like type may be the simplest change here. I worry that rivetrole may get confused with an ARIA role specific to Rivet.
The
Badge
andButton
components both have arole
prop that can take the value "secondary". When linting with thejsx/a11y
plugin, this results in the following error:We should change the name of this prop in these components to something that does not conflict. Maybe
rivetrole
?The text was updated successfully, but these errors were encountered: