1.1.0 • Published 5 years ago

@airship/tslint-react-a11y v1.1.0

Weekly downloads
52
License
MIT
Repository
github
Last release
5 years ago

Airship TSLint React a11y Extension

JSX a11y rules to extend TSLint used by the Airship Builders. This package is designed to extend the functionality of @teamairship/tslint-react-config while leaving the flexibility to leave these rules out when needed.

Installation

yarn add -D @airship/tslint-react-a11y

Usage

In tslint.json

{
  "extends": ["@airship/tslint-react-a11y"],
    "rules": {
    // override tslint-react-a11y rules here
    "react-a11y-lang": false
  }
}

Supported Rules

All rules are enabled by default.

Rule NameDescription
react-a11y-accessible-headingsComing soon...
react-a11y-anchorsComing soon...
react-a11y-aria-unsupported-elementsComing soon...
react-a11y-event-has-roleComing soon...
react-a11y-iframesComing soon...
react-a11y-image-button-has-altComing soon...
react-a11y-img-has-altComing soon...
react-a11y-input-elementsComing soon...
react-a11y-langComing soon...
react-a11y-metaComing soon...
react-a11y-no-onchangeComing soon...
react-a11y-propsComing soon...
react-a11y-proptypesComing soon...
react-a11y-requiredComing soon...
react-a11y-roleComing soon...
react-a11y-role-has-required-aria-propsComing soon...
react-a11y-role-supports-aria-propsComing soon...
react-a11y-tabindex-no-positiveComing soon...
react-a11y-titlesComing soon...

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/teamairship/tslint-react-a11y. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

This package is available as open source under the terms of the MIT License.

Thanks