🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@helptheweb/helper

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helptheweb/helper

Accessibility helper for websites by helptheweb.org

Source
npmnpm
Version
1.2.1
Version published
Weekly downloads
14
180%
Maintainers
0
Weekly downloads
 
Created
Source

@helptheweb/helper

The official accessibility helper widget from helptheweb.org, adding features like font size adjustment, contrast modes, and more.

Installation

npm install @helptheweb/helper

Usage

Browser (CDN)

<script src="https://unpkg.com/@helptheweb/helper"></script>
<script>
  window.addEventListener('load', function() {
    new AccessibilityHelper({
      defaultFontSize: 16,
      buttonColor: '#1e232f'
    });
  });
</script>

ESM

import { Helper } from '@helptheweb/helper';

new Helper({
  defaultFontSize: 16,
  buttonColor: '#1e232f'
});

CommonJS

const { Helper } = require('@helptheweb/helper');

new Helper({
  defaultFontSize: 16,
  buttonColor: '#1e232f'
});

Options

OptionTypeDefaultDescription
defaultFontSizenumber16Initial font size in pixels
buttonColorstring'#1e232f'Color of the accessibility toggle button

Features

  • Font size adjustment
  • Greyscale mode
  • High contrast mode
  • Negative contrast mode
  • Underline links
  • Readable font
  • Reset functionality

About

This package is maintained by helptheweb.org, a project dedicated to making the web more accessible for everyone.

License

MIT

Support

For support, please visit helptheweb.org

Keywords

accessibility

FAQs

Package last updated on 16 Jan 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