# ariamodule

> Library for creating an accessible UI based on WAI-ARIA

Latest version **0.5.0** (published 2022-09-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install ariamodule
pnpm add ariamodule
yarn add ariamodule
bun add ariamodule
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.0 |
| Published | 2022-09-05 |
| First published | 2017-01-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=14.19 |
| Dependencies | 1 |
| Unpacked size | 146.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Vyacheslav Aristov |
| Maintainers | aristov |
| Keywords | DOM, HTML, UI, WAI-ARIA, component, library, virtual dom |

## Links

- npm: https://www.npmjs.com/package/ariamodule
- Repository: https://github.com/aristov/ariamodule
- Homepage: https://github.com/aristov/ariamodule#readme
- Issues: https://github.com/aristov/ariamodule/issues
- npm.io page: https://npm.io/package/ariamodule

## Dependencies (1)

- [htmlmodule](https://npm.io/package/htmlmodule.md) ^0.10.0

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 0.5.0 (latest) — 2022-09-05
- 0.4.0 — 2022-07-18
- 0.3.1 — 2022-07-01
- 0.3.0 — 2022-07-01
- 0.2.1 — 2022-05-27
- 0.2.0 — 2022-05-27
- 0.1.13 — 2019-09-10
- 0.1.12 — 2019-01-14
- 0.1.11 — 2019-01-14
- 0.1.10 — 2018-12-29
- 0.1.9 — 2018-08-21
- 0.1.8 — 2018-08-19
- 0.1.7 — 2018-04-18
- 0.1.6 — 2018-04-13
- 0.1.5 — 2018-04-11
- … 9 more at https://npm.io/package/ariamodule/versions

## README

# ariamodule

[![NPM Version](https://img.shields.io/npm/v/ariamodule.svg)](https://www.npmjs.com/package/ariamodule)
[![Node.js CI](https://github.com/aristov/ariamodule/actions/workflows/node.js.yml/badge.svg)](https://github.com/aristov/ariamodule/actions/workflows/node.js.yml)
[![Coverage Status](https://coveralls.io/repos/github/aristov/ariamodule/badge.svg?branch=master)](https://coveralls.io/github/aristov/ariamodule?branch=master)
[![NPM](https://img.shields.io/npm/l/ariamodule)](https://raw.githubusercontent.com/aristov/ariamodule/master/LICENSE)

AriaModule is a library for creating an accessible UI based on WAI-ARIA.
This is an extension for [htmlmodule](https://npmjs.com/package/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:

```html
<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:

```shell
npm install ariamodule
```

## Usage

Pre-built bundle

```js
const { RoleButton } = ariamodule
```

In CommonJS

```js
const { RoleButton } = require('ariamodule')
```

In ES2015

```js
import { RoleButton } from 'ariamodule'
```

The HtmlModule stuff can also be imported from AriaModule:

```js
import { HtmlA } from 'ariamodule'
```

## License

[The MIT License (MIT)](https://raw.githubusercontent.com/aristov/ariamodule/master/LICENSE)

---
_Source: https://npm.io/package/ariamodule · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
