Skip to content
Options for hiding content from screen readers and/or browsers
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
README.md
accessibility.scss
component.json

README.md

Accessibility

Options for hiding content from screen readers and/or browsers.

Installation

fonzie install accessibility

Usage

@import "hide-from-all";

// Hide for both screenreaders and browsers
div {
  @include hide-from-all;
}

// Hide only visually, but have it available for screenreaders 
div {
  @include screenreaders-only;
}

// Hide visually and from screenreaders, but maintain layout
div {
  @include invisible;
}
Something went wrong with that request. Please try again.