Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mayashavin/vue-m16y

a11y widget for Vue app which enables media accessibility mode
https://github.com/mayashavin/vue-m16y

Last synced: about 1 month ago
JSON representation

a11y widget for Vue app which enables media accessibility mode

Awesome Lists containing this project

README

        

# vue-accessibility-widget
Vue plugin for m16y - media accessibility for visually impaired user support.

Demo: [https://vue-accessibility-demo.netlify.com/](https://vue-accessibility-demo.netlify.com/)

It will inject a small widget with basic settings to for helping visually impaired user, including:
1. Low visions (contrast sensitivy, brightness sensitivity, etc)
2. Color blindness (texture support)

**_Coming soon_**
- Auto modify all image tags when plugin is enabled.
- Warm lighting mode

## Functionalities
![screenshot of plugin UI](https://res.cloudinary.com/mayashavin/image/upload/w_250/v1550135241/Screen_Shot_2019-02-14_at_10.05.40.png)

### Brightness control
Allow user to change the brightness of the whole app.

Default: `100%`

# Contrast control
Allow user to change the contrsat of the whole app.

Default: `100%`

### Dark mode (Night mode)
Allow user to switch the app to dark theme, which is easier to read.

Default: `false`

### Color blind mode
* Allow user to enable color blind mode for images throughout the app. It will add texture to differentiate similar colors (red-green).

* Currently only works when image is rendered using `image-wrapper` component.

Default: `false`

### Grayscale mode
Allow user to switch the app to grayscale color theme.

## How to use

### Install the plugin
- Add the plugin to Vue using

### Getting started 👩‍💻
- Add the plugin to Vue using

```
import M16yPlugin from 'vue-accessibility-widget';

Vue.use(M16yPlugin);
```

- Use Cloudinary plugins to get all other cool accessibility effect:
```
import M16yPlugin from 'vue-accessibility-widget';

Vue.use(M16yPlugin, {
plugins: {
Cloudinary: {
cloudName: //if you want to use Cloudinary
}
}
});
```

- In `App.vue` simple add attribute `v-m16y-ctrls`
```