From f7ce5d0f499a36b81d660fe08a103e2604ea077c Mon Sep 17 00:00:00 2001 From: Julien Le Coupanec Date: Sun, 29 Mar 2020 18:13:01 +0200 Subject: [PATCH] docs(tailwind): screen readers --- frontend/tailwind.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/tailwind.css b/frontend/tailwind.css index bb61b93..5051bd5 100644 --- a/frontend/tailwind.css +++ b/frontend/tailwind.css @@ -2271,6 +2271,8 @@ * SCREEN READERS * -------------------- * Utilities for improving accessibility with screen readers. - * + * By default, only responsive, hover, focus and active variants are generated for accessibility utilities. */ - \ No newline at end of file + +.sr-only /* position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; */ +.not-sr-only /* position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: normal; */