♿️ fix: improve accessibility in lists & taps
This commit is contained in:
@@ -10,28 +10,28 @@
|
||||
|
||||
<ul class="meta">
|
||||
{% if page.draft %}
|
||||
<span class="draft-label">DRAFT</span>
|
||||
<li class="draft-label">DRAFT</li>
|
||||
{% endif %}
|
||||
|
||||
{% if page.date %}
|
||||
<span>{{ page.date | date(format=config.extra.date_format | default (value="%d %B %Y")) }}</span>
|
||||
{{ separator }}
|
||||
<li>{{ page.date | date(format=config.extra.date_format | default (value="%d %B %Y")) }} {{ separator }}</li>
|
||||
{% endif %}
|
||||
|
||||
<span title="{{ page.word_count }} words">{{ page.reading_time }} min read</span>
|
||||
<li title="{{ page.word_count }} words"> {{ page.reading_time }} min read</li>
|
||||
|
||||
{% if page.taxonomies and page.taxonomies.tags %}
|
||||
{{ separator }} Tags:
|
||||
<li> {{ separator }} Tags: </li>
|
||||
{% for tag in page.taxonomies.tags %}
|
||||
<li><a href={{ get_taxonomy_url(kind='tags' , name=tag) | safe }}>{{ tag }}</a></li>
|
||||
<li><a href={{ get_taxonomy_url(kind='tags' , name=tag) | safe }}>{{ tag }}</a>
|
||||
{%- if not loop.last -%}
|
||||
,
|
||||
,
|
||||
{%- endif -%}
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if page.updated %}
|
||||
<br><span>Last updated on {{ page.updated | date(format=config.extra.date_format | default (value="%d %B %Y")) }}</span>
|
||||
</ul><ul class="meta last-updated"><li>Last updated on {{ page.updated | date(format=config.extra.date_format | default (value="%d %B %Y")) }}</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
|
@@ -6,14 +6,12 @@
|
||||
|
||||
<div class="tag-cloud">
|
||||
<ul class="tags">
|
||||
{% for term in terms %}
|
||||
<div class="tags-item">
|
||||
<li id "{{ term.name }}"><a href="{{ term.permalink | safe }}">
|
||||
{{ term.name }}</a>
|
||||
<span> – {{ term.pages | length }} post{{ term.pages | length | pluralize }}</span>
|
||||
</li>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{%- for term in terms -%}
|
||||
<li class="tags-item" id "{{ term.name }}"><a href="{{ term.permalink | safe }}">
|
||||
{{ term.name }}</a>
|
||||
– {{ term.pages | length }} post{{ term.pages | length | pluralize }}
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user