Socket
Socket
Sign inDemoInstall

aid.css

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aid.css

CSS a11y module


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

aid.css = CSS accessibility classes with intent

classes

.aid-say

  • visually hidden but screenreader voiceover accessible
  • useful for providing spoken narration to voice listeners
<i class="aid-say">You rock!</i>

.aid-tab

  • visually hidden except shown as normal when focused
  • useful for controls that you want visible when tabbed to
<a href="#main" class="aid-tab">skip</a>

aria

Favor aria-label where supported because it works without needing extra tags or CSS.

<button aria-label="edit"><i class="icon icon-edit" aria-hidden="true"></i></button>

setup

npm install aid.css
@import "node_modules/aid.css/aid";

contribute

Please report bugs or share techniques

Keywords

FAQs

Package last updated on 05 Jun 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc