From bf93dafdfa6b1c3977e25d093527f40a058f114d Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 7 Jul 2020 23:06:21 +0200 Subject: Improve accessibility and keyboard navigation --- assets/_utils.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'assets/_utils.scss') diff --git a/assets/_utils.scss b/assets/_utils.scss index 01f1931..29ef1ca 100644 --- a/assets/_utils.scss +++ b/assets/_utils.scss @@ -54,6 +54,14 @@ display: none; } +input.toggle { + height: 0; + width: 0; + overflow: hidden; + opacity: 0; + position: absolute; +} + .clearfix::after { content: ""; display: table; @@ -76,3 +84,9 @@ overflow-x: hidden; overflow-y: auto; } + +@mixin outline { + outline-style: auto; + outline-color: currentColor; + outline-color: -webkit-focus-ring-color; +} -- cgit v1.2.3