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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@wally-ax/wax-dev-react

v0.1.3

Published

WallyAX's developer friendly accessibility test framework

Downloads

4

Readme

WAX Dev Testing Framework

Description

A lightweight and extensive automated accessibility testing framework

As a part of the WallyAX ecosystem accessibility tools, this package helps run accessibility tests on React App.

Installation

Install the package using npm:

npm install @wally-ax/wax-dev-react

Or using yarn:

yarn add @wally-ax/wax-dev-react

Dependencies

Install the React Dom package using npm:

npm install react-dom

Or using yarn:

yarn add react-dom

Usage

Configuration

In your React Application, in the main entry file (typically App.js):

import the ReactDOM and runWax Module

import ReactDOM from 'react-dom';
import runWax from '@wally-ax/wax-dev-react';

const waxConfig = {
    rules: [],
    apiKey: "YOUR_WALLY_DEVELOPER_API_KEY",
  };
runWax(React, ReactDOM, waxConfig);

Here’s how the setup of your application should be structured, as shown below.

App.js

import React from "react";
import ReactDOM from 'react-dom';
import runWax from '@wally-ax/wax-dev-react';
import './App.css';
import Form from './Form';

function App() {
  const waxConfig = {
    rules: [],
    apiKey: "API KEY",
  };
  runWax(React, ReactDOM, waxConfig);
  return (
    <div className="App">
      <p>
        Wally Dev React
      </p>
      <Form />

    </div>
  );
}
export default App;

rules: An array of strings representing rule definitions. Available rules can be found here. An empty array will include all rules.

apiKey: A string required for the wax-dev-react to work. You can get the api key from WallyAX Developer Portal

Results

The results will be displayed in your browser's Developer console.

Wax Dev React in action

If there is no accessibility issues, it will say No issues found

Wax Dev React with no issues

License

Mozilla Public License Version 2.0 (see license.txt)

WAX Dev React is licensed as Mozilla Public License Version 2.0 and the copyright is owned by Wally Solutions Pvt Ltd and Contributors.

By contributing to WAX Dev React, you agree that your contributions will be licensed under its Mozilla Public License Version 2.0.