mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 05:36:50 +08:00
notice: avoid tab focus for non-expandable boxes #977
This commit is contained in:
parent
ec88e24f46
commit
d25f856477
@ -61,7 +61,7 @@
|
||||
{{- printf " %s=%q" $k $v | safeHTMLAttr }}
|
||||
{{- end }}
|
||||
{{- end }}>
|
||||
<summary class="box-label{{ if and (not $expander) (not $icon) (not $title) }} a11y-only{{ end }}">{{ if $expander }}
|
||||
<summary class="box-label{{ if and (not $expander) (not $icon) (not $title) }} a11y-only{{ end }}"{{ if not $expander }} tabindex="-1"{{ end }}>{{ if $expander }}
|
||||
<i class="expander-icon fa-fw fas fa-chevron-right"></i> {{ end }}{{ if $icon }}
|
||||
<i class="{{ $icon }}"></i> {{ end }}{{ if $title }}
|
||||
{{ $title | .RenderString }}{{ else }}
|
||||
|
@ -1 +1 @@
|
||||
7.2.1+f1701957c30daae7cd133bec5a7968480563ce9f
|
||||
7.2.1+ec88e24f46955bcf1aa3f38ac143982eff08d8a6
|
Loading…
x
Reference in New Issue
Block a user