New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-accessibility-analyzer

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-accessibility-analyzer

Package for analyze the accessibility coverage of website developed using reactJS.

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

This is a npm module to check all the accessibility needs at once.

Sample usage

import React, { useRef } from 'react'; import { checkAltAttributes, checkARIACompliance, checkContrastRatio, analyzeTabIndex, checkSemanticHTML } from 'react-accessibility-analyzer';

const checkAltAttributesissues = checkAltAttributes(useRef().current);
    console.log('TabIndex Issues:', checkAltAttributesissues);

const checkARIAComplianceissues = checkARIACompliance(useRef().current);
    console.log('ARIACompliance Issues:', checkARIAComplianceissues);

const checkContrastRatioissues = checkContrastRatio(useRef().current);
    console.log('ContrastRatio Issues:', checkContrastRatioissues);

const checkanalyzeTabIndex = analyzeTabIndex(useRef().current);
    console.log('analyzeTabIndex Issues:', checkanalyzeTabIndex);

const checkSemanticHTMLConst = checkSemanticHTML(useRef().current);
    console.log('checkSemanticHTML Issues:', checkSemanticHTMLConst);

Keywords

accessibility

FAQs

Package last updated on 25 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts