Skip to content

Commit

Permalink
Add description
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarnef committed Oct 6, 2023
1 parent 3128d35 commit 923b003
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/uui-visually-hidden/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@

Umbraco style visually-hidden component.

The visually hidden utility makes content accessible to assistive devices without displaying it on the screen.

According to The A11Y Project:

There are real world situations where visually hiding content may be appropriate, while the content should remain available to assistive technologies, such as screen readers. For instance, hiding a search field's label as a common magnifying glass icon is used in its stead.

Since visually hidden content can receive focus when tabbing, the element will become visible when something inside receives focus. This behavior is intentional, as sighted keyboard user won’t be able to determine where the focus indicator is without it.

## Installation

### ES imports
Expand Down

0 comments on commit 923b003

Please sign in to comment.