ngx-checka11y
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

Checka11y.css logo

GitHub Repo stars npm npm bundle size npm


ngxChecka11y

An Angular package wrapping Checka11y.css during the development process to quickly highlight some common accessibility errors and warnings that can be easily and quickly rectified.

Installation

Using npm

npm i checka11y-css@1.3.2 --save-dev

Using yarn

yarn add checka11y-css@1.3.2 --dev


Usage

Add CheckA11yModule to your app.module.ts and inject a provider for the environment to be avialable to the ngx-checka11y package.

import { CheckA11yModule } from "ngx-checka11y";
import { environment } from "../environments/environment";
@NgModule({
  imports: [
      ...,
      CheckA11yModule
    ],
  providers: [{ provide: 'environment', useValue: environment }],
})

Add ngxCheckA11y directive to whatever HTML element

or

<ng-container ngxCheckA11y></ng-container>

in the app.component.html or whatever component you want.

/ngx-checka11y/

    Package Sidebar

    Install

    npm i ngx-checka11y

    Weekly Downloads

    2

    Version

    1.0.6

    License

    none

    Unpacked Size

    53.4 kB

    Total Files

    18

    Last publish

    Collaborators

    • alaamu