0.5.0 • Published 2 years ago

ariamodule v0.5.0

Weekly downloads
2
License
MIT
Repository
github
Last release
2 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

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.4

6 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago