Accessible Aria Button component for React, based on the ARIA button role docs in MDN.
yarn add @restlessbit/aria-button
import AriaButton from '@restlessbit/aria-button'
function CoolAccessibleReactApplication () {
return (
<AriaButton onClick={() => alert('sick!')}>Click dis with your mouse, or use your keyboard if you would prefer!</AriaButton>
)
}yarn exampleyarn test