Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ryanve/aid.css

A11y utility classes module
https://github.com/ryanve/aid.css

a11y accessibility css inclusion inclusive inclusive-design

Last synced: about 1 month ago
JSON representation

A11y utility classes module

Awesome Lists containing this project

README

        

# aid.css = CSS accessibility classes with intent

## classes

### `.aid-say`

- visually hidden but screenreader voiceover accessible
- useful for providing spoken narration to voice listeners

```html
You rock!
```

### `.aid-tab`
- visually hidden except shown as normal when focused
- useful for controls that you want visible when tabbed to

```html
skip
```

## aria

Favor `aria-label` [where supported](https://www.w3.org/TR/using-aria/#label-support) because it works without needing extra tags or CSS.

```html

```

## setup

```
npm install aid.css
```

```css
@import "node_modules/aid.css/aid";
```

## contribute

[Please report bugs or share techniques](../../issues)