0.4.4 • Published 2 years ago

@react-lit/visually-hidden v0.4.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@react-lit/visually-hidden

Render text that is announced to screen readers but visually hidden.

Installation

$ npm i @react-lit/visually-hidden
# or
$ yarn add @react-lit/visually-hidden

Example

import * as React from 'react',
import { VisuallyHidden } from '@react-lit/visually-hidden';

function Example() {
  return (
    <button>
      <VisuallyHidden>Close</VisuallyHidden>
      <span aria-hidden>🔒</span>
    </button>
  )
}

Development

(1) Install dependencies

$ npm i
# or
$ yarn

(2) Run initial validation

$ ./Taskfile.sh validate

(3) Run tests in watch-mode to validate functionality.

$ ./Taskfile test -w

This project was set up by @jvdx/core

0.4.4

2 years ago

0.4.3

2 years ago

0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago