mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 10:50:24 +00:00
notice: avoid tab focus for non-expandable boxes #977
This commit is contained in:
parent
ec88e24f46
commit
d25f856477
2 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@
|
||||||
{{- printf " %s=%q" $k $v | safeHTMLAttr }}
|
{{- printf " %s=%q" $k $v | safeHTMLAttr }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- 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="expander-icon fa-fw fas fa-chevron-right"></i> {{ end }}{{ if $icon }}
|
||||||
<i class="{{ $icon }}"></i> {{ end }}{{ if $title }}
|
<i class="{{ $icon }}"></i> {{ end }}{{ if $title }}
|
||||||
{{ $title | .RenderString }}{{ else }}
|
{{ $title | .RenderString }}{{ else }}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
7.2.1+f1701957c30daae7cd133bec5a7968480563ce9f
|
7.2.1+ec88e24f46955bcf1aa3f38ac143982eff08d8a6
|
Loading…
Reference in a new issue