aboutsummaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-07-07 23:06:21 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-07-07 23:06:21 +0200
commitbf93dafdfa6b1c3977e25d093527f40a058f114d (patch)
tree715837df621208eae090b7acc0a28d8613f5eb20 /layouts/shortcodes
parentf416a71bf8bb77e7af9ade9eea7fe3b662962290 (diff)
Improve accessibility and keyboard navigation
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/tabs.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/tabs.html b/layouts/shortcodes/tabs.html
index 982f6a0..01c1a63 100644
--- a/layouts/shortcodes/tabs.html
+++ b/layouts/shortcodes/tabs.html
@@ -4,7 +4,7 @@
<div class="book-tabs">
{{- range $index, $tab := .Scratch.Get $group -}}
- <input type="radio" class="hidden" name="{{ $group }}" id="{{ printf "%s-%d" $group $index }}" {{ if not $index }}checked="checked"{{ end }} />
+ <input type="radio" class="toggle" name="{{ $group }}" id="{{ printf "%s-%d" $group $index }}" {{ if not $index }}checked="checked"{{ end }} />
<label for="{{ printf "%s-%d" $group $index }}">
{{- $tab.Name -}}
</label>