Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.09 KB

README.md

File metadata and controls

58 lines (38 loc) · 1.09 KB

radioinput coverage

Vue.js Radio Group Component using roving tabindex

Sample running demo at https://radioinput-de8f6.firebaseapp.com/

About

radioinput is a radio group component that implements the features of the Radio Group Design Pattern using roving tabindex and supports web accessibility.

This component offers the below features

  • supports v-model
  • supports setting default checked radio
  • supports radio positioning (beforeLabel, afterLabel, aboveLabel, belowLabel)
  • supports no label radios by adding aria-label attribute when no label is set
  • supports setting radio to disabled

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Run your unit tests

npm run test:unit

Customize configuration

See Configuration Reference.