NoRedInk/nri-elm-css/1.3.0

NOTE: this package is not compatible with Elm 0.19.1

Nri.Accessibility

Helper module for functions that make it easier to write accessible code. Role, aria, label-related helpers, color-fallbacks, etc.

invisibleText is most frequently useful on labels.

For instance, if there's an input element with a placeholder, someone on a screenreader would miss the content of that placeholder.

With invisibleText, we can avoid redundancy across visible label and placeholder, but maintain semantic meaning of the input for other users.