vue-accessibility-widget

M16y - Media Accessibility plugin
968 10
Install
npm install vue-accessibility-widget
Latest Version:0.0.33
Vue:2
License:MIT
Last Updated:Dec 9, 2022
Links: GitHub  ·  npm
Maintainer: mayashavin

vue-accessibility-widget

contributors welcome

Vue plugin for a11y which enables media accessibility (m16y) customized controls widget for visually impaired user support in your app.

Automatically.

screenshot of plugin UI

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)

Features

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.

Installing 🚀

Direct install from npm vue-accessibility-widget

$ npm install --save vue-accessibility-widget

Or yarn

$ yarn add vue-accessibility-widget

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: <yourCloudName>  //if you want to use Cloudinary
    }
  }
});
  • In App.vue simple add attribute v-m16y-ctrls
<div id="app" v-m16y-ctrls>
<!--code here--/>
</div>

Or you can customize the attribute name by

Vue.use(M16yPlugin, {
  directiveName: 'v-access-ctrls',
});

And in App.vue

<div id="app" v-access-ctrls>
<!--code here--/>
</div>

And it will just work! 👍

Docs ✍️

Coming soon

Issues 😱

Any bug 🐛 or issue ❓, just drop me a line at Issues

License

MIT

Related Packages

vue-focus-visible

✨ Automagically manage the visibility of :focus states in your app, showing the...

5,167 7
@bauer-group/accessibility-widget-vue

Vue 3 Wrapper für das BAUER GROUP Accessibility Widget.

1,236 0
@bauer-group/accessibility-widget-nuxt

Nuxt Plugin für das BAUER GROUP Accessibility Widget.

1,205 0
tabpanelwidget

Responsive & versatile all-in-one solution tabpanel and accordion widget

2,490 105
nuxt-a11y

This module integrates Axe tool for auditing website against common Accessibilit...

462

Version History

Version Released Vue License
0.0.33 ^2.5.2 MIT
0.0.32 ^2.5.2 MIT
0.0.31 ^2.5.2 MIT
0.0.30 ^2.5.2 MIT
0.0.29 ^2.5.2 MIT