0.5.0 • Published 3 years ago

ariamodule v0.5.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

ariamodule

NPM Version Node.js CI Coverage Status NPM

AriaModule is a library for creating an accessible UI based on WAI-ARIA. This is an extension for htmlmodule which also re-exports all the content from it.

Installation

The easiest way to get AriaModule is to include pre-built bundle from CDN. Since AriaModule is built on top of HtmlModule, you should also enable it:

<script src="https://unpkg.com/htmlmodule@latest/dist/htmlmodule.js"></script>
<script src="https://unpkg.com/ariamodule@latest/dist/ariamodule.js"></script>

It injects htmlmodule and ariamodule globals into your environment.

NPM

If you're using NPM, you can install AriaModule via:

npm install ariamodule

Usage

Pre-built bundle

const { RoleButton } = ariamodule

In CommonJS

const { RoleButton } = require('ariamodule')

In ES2015

import { RoleButton } from 'ariamodule'

The HtmlModule stuff can also be imported from AriaModule:

import { HtmlA } from 'ariamodule'

License

The MIT License (MIT)

0.3.0

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.13

6 years ago

0.1.12

6 years ago

0.1.11

6 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago