npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

accessibility_ui

v2.1.0

Published

Accessibility UI is an npm package that gives you, the developer, the power to incorporate accessibility features and end-user customisation into your React web application.

Downloads

12

Readme

Accessibility UI

Accessibility UI is an npm package that gives you, the developer, the power to incorporate accessibility features and end-user customisation into your React web application.

Features include:

  1. Accessibility Toggle to toggle accessibility view on or off on your webpage.
  2. Pre-set accessibility settings such as appropriate color contrast and sizing.
  3. Customisation page template for your end-users to tailor their experience by adjusting the UI elements to their preference.

We encourage developers to use this package as a skeleton to incorporate more accessibility customisation features. We hope that this will help foster a community of developers that hope to make applications more accessibility-friendly.

Created by: Team AccessTech

🌟 Important Files

1. Customisation Page

A default template that provides a user-friendly interface for end-users to customize various UI elements for your webpages.

2. Customization Context

A context provider that stores and manages the customization settings, ensuring persistence across sessions using localStorage.

3. Color Picker

A component that allows users to pick colors for various UI elements. The colors have been pre-set to ensure high contrast that fit accessibility needs, based on WebAIM criteria.

4. Toggle Button

Allows you to toggle accessibility mode on/off, to be implemented in App.js and App.css so that it can be accessed from anywhere in your web application.

5. WebPage

An example of a webpage that the accessibility features should be applied to, alongside the accessibility toggle.

6. App.js and App.css

Files that your web application should already contain, changes should be made according to the template we provided.

📦 Installation

To integrate Accessibility UI into your project, follow these steps:

# Install the package
npm install accessibility_ui

# Ensure you have the required peer dependencies
npm install react@^18.2.0 react-dom@^18.2.0

The accessibility_ui module will be found inside your node_modules folder. Move the files into your working directory.

🚀 Usage

1. Wrap your main application component with the CustomisationProvider:

import { CustomisationProvider } from './insert file path of CustomisationContext.js';

function App() {
  return (
    <CustomisationProvider>
      {/* Your app components */}
    </CustomisationProvider>
  );
}

2. Embed the CustomisationPage: Place the CustomisationPage wherever you want the customization interface to appear in your application.

3. Utilize Custom Components: Follow the template provided in WebPage.js to be integrated with your actual webpage. After defining the styles, all you have to do is insert inline styles to the element of your choice that you want to apply the accessibility customisation to.

Example:

<button className={your.class.name.here} style={buttonStyle}>

4. Import all necessary code into your web application: Make sure that you have incorporated all necessary code from our package into your web application for it to work. This includes CSS files, App.css and App.js.

5. Extend and Customize: Feel free to extend existing components or introduce new customizable elements to better suit your application's needs.