cutestrap icon indicating copy to clipboard operation
cutestrap copied to clipboard

Accessibility utilities (screen-reader-text)

Open scottsweb opened this issue 4 years ago • 1 comments

Would you consider a PR that brings in the following utility?

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

Description: Allows items to be hidden visually but spoken via screen reader.

scottsweb avatar Jul 08 '20 10:07 scottsweb

Absolutely :)

tylerchilds avatar Aug 18 '20 22:08 tylerchilds