Skip to content

Repository files navigation

@restlessbit/aria-button

Accessible Aria Button component for React, based on the ARIA button role docs in MDN.

Installation

yarn add @restlessbit/aria-button

Usage

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>
  )
}

Running the example

yarn example

Running tests

yarn test

About

Accessible Aria Button component for React.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages