From 10f6e708e5a5b7fe68d30b86aeaf455d1e1d7daa Mon Sep 17 00:00:00 2001 From: Haishan Date: Sat, 21 Nov 2020 23:31:14 +0800 Subject: chore: improve a11y of traffic chart style selection --- src/components/Root.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/components/Root.css') diff --git a/src/components/Root.css b/src/components/Root.css index fe837de..39562cf 100644 --- a/src/components/Root.css +++ b/src/components/Root.css @@ -156,10 +156,20 @@ body.light { justify-content: center; } -/* TODO remove fabgrp in component css files */ .fabgrp { position: fixed; z-index: 3; right: 20px; bottom: 20px; } + +.visually-hidden { + position: absolute; + overflow: hidden; + clip: rect(0 0 0 0); + width: 1px; + height: 1px; + margin: -1px; + border: 0; + padding: 0; +} -- cgit v1.3.1