Allow tabbing to generic list elements
This commit is contained in:
parent
1e64328a64
commit
0847809834
@ -25,7 +25,7 @@
|
||||
{{ if $pagination }}
|
||||
{{ $paginator := $page.Paginate $entries }}
|
||||
{{ range $paginator.Pages }}
|
||||
<li class="list-item" data-href="{{ .Permalink }}" role="button">
|
||||
<li class="list-item" data-href="{{ .Permalink }}" role="button" tabindex="0">
|
||||
<img class="list-item-image" src="//via.placeholder.com/128" alt="{{ index $ "labelSingular" }} Topic">
|
||||
<div class="list-item-text">
|
||||
<h4 class="list-item-title">{{ .Title }}</h4>
|
||||
@ -36,7 +36,7 @@
|
||||
{{ template "_internal/pagination.html" $page }}
|
||||
{{ else }}
|
||||
{{ range ( first $maximumListSize $entries ) }}
|
||||
<li class="list-item" data-href="{{ .Permalink }}" role="button">
|
||||
<li class="list-item" data-href="{{ .Permalink }}" role="button" tabindex="0">
|
||||
<img class="list-item-image" src="//via.placeholder.com/128" alt="{{ index $ "labelSingular" }} Topic">
|
||||
<div class="list-item-text">
|
||||
<h4 class="list-item-title">{{ .Title }}</h4>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user