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 🙏

© 2026 – Pkg Stats / Ryan Hefner

ufc-itapaje-accessibility

v1.0.13

Published

Widget de acessibilidade customizável com suporte a temas, fonte para dislexia, ocultar imagens e módulos extras.

Readme

ufc-itapaje-accessibility

Widget de acessibilidade customizável para web. Suporta ajuste de texto, fonte para dislexia, inverter cores, guia de leitura, texto para fala e muito mais.

npm license


Instalação

npm / yarn

npm install ufc-itapaje-accessibility
yarn add ufc-itapaje-accessibility

CDN (sem bundler)

<script src="https://cdn.jsdelivr.net/npm/ufc-itapaje-accessibility/dist/index.global.js"></script>

Uso básico

Via CDN

<script src="https://cdn.jsdelivr.net/npm/ufc-itapaje-accessibility/dist/index.global.js"></script>
<script>
  new Accessibility.Accessibility();
</script>

Via npm (ES Modules)

import { Accessibility } from 'ufc-itapaje-accessibility';

new Accessibility();

Via npm (CommonJS)

const { Accessibility } = require('ufc-itapaje-accessibility');

new Accessibility();

Configuração

Todas as opções são opcionais. O widget funciona com valores padrão sem nenhuma configuração.

new Accessibility.Accessibility({
  // Rótulos exibidos no menu
  labels: {
    menuTitle:   'Acessibilidade',
    resetTitle:  'Redefinir',
    closeTitle:  'Fechar',
    dyslexicFont: 'Fonte para dislexia',
    hideImages:   'Ocultar imagens',
    // ... demais rótulos
  },

  // Módulos visíveis (true = visível, false = oculto)
  modules: {
    increaseText:        true,
    decreaseText:        true,
    increaseTextSpacing: true,
    decreaseTextSpacing: true,
    increaseLineHeight:  true,
    decreaseLineHeight:  true,
    invertColors:        true,
    grayHues:            true,
    bigCursor:           true,
    readingGuide:        true,
    underlineLinks:      true,
    textToSpeech:        true,
    speechToText:        true,
    disableAnimations:   true,
    dyslexicFont:        true,
    hideImages:          true,
  },

  // Salva preferências do usuário entre visitas
  session: { persistent: true },

  // Logo exibido no rodapé do menu
  logoImage: 'https://exemplo.com/logo.png',

  // Idioma para texto-para-fala e fala-para-texto
  language: {
    textToSpeechLang: 'pt-BR',
    speechToTextLang: 'pt-BR',
  },
});

Módulos disponíveis

| Módulo | Descrição | |---|---| | increaseText / decreaseText | Aumenta ou diminui o tamanho da fonte | | increaseTextSpacing / decreaseTextSpacing | Ajusta espaçamento entre palavras e letras | | increaseLineHeight / decreaseLineHeight | Ajusta a altura de linha | | invertColors | Alto contraste invertendo as cores | | grayHues | Remove todas as cores (tons de cinza) | | bigCursor | Cursor do mouse maior | | readingGuide | Barra horizontal que segue o mouse | | underlineLinks | Sublinha todos os links da página | | textToSpeech | Lê o conteúdo clicado em voz alta | | speechToText | Dita em campos de formulário via microfone | | disableAnimations | Remove animações e transições CSS | | dyslexicFont | Aplica fonte OpenDyslexic na página | | hideImages | Oculta todas as imagens da página |

speechToText requer HTTPS e navegador com suporte a webkitSpeechRecognition.


Temas (CSS Custom Properties)

O widget pode ser estilizado via variáveis CSS:

:root {
  --_access-icon-bg:               #4054b2;
  --_access-icon-color:            #fff;
  --_access-menu-background-color: #F3F4F6;
  --_access-menu-width:            20vw;
  --_access-menu-min-width:        300px;
}

Preset em português

import { Accessibility, ptBRLabels } from 'ufc-itapaje-accessibility';

new Accessibility({ labels: ptBRLabels });

WordPress

Um plugin WordPress oficial está disponível na pasta wordpress-plugin/.
Consulte o README do plugin para instruções de instalação.


Licença

GPL-3.0 — NTI UFC Itapajé