mirror of
https://github.com/welpo/tabi.git
synced 2026-02-15 23:57:19 +01:00
improve accessibility
This commit is contained in:
parent
2ccebb3ee7
commit
5233e6a384
1 changed files with 2 additions and 2 deletions
|
|
@ -166,13 +166,13 @@
|
|||
<div>
|
||||
{%- if article_links_left_side_link and article_links_left_side_label and article_links_left_side_title -%}
|
||||
<a href="{{ article_links_left_side_link | safe }}" aria-label="{{ article_links_left_side_label }}" aria-describedby="article_links_left_side_title">← {{ article_links_left_side_label }}</a>
|
||||
<p id="article_links_left_side_title">{{ article_links_left_side_title | truncate(length=100, end="…") }}</p>
|
||||
<p aria-hidden="true" id="article_links_left_side_title">{{ article_links_left_side_title | truncate(length=100, end="…") }}</p>
|
||||
{%- endif -%}
|
||||
</div>
|
||||
<div>
|
||||
{%- if article_links_right_side_link and article_links_right_side_label and article_links_right_side_title -%}
|
||||
<a href="{{ article_links_right_side_link | safe }}" aria-label="{{ article_links_right_side_label }}" aria-describedby="article_links_right_side_title">{{ article_links_right_side_label }} →</a>
|
||||
<p id="article_links_right_side_title">{{ article_links_right_side_title | truncate(length=100, end="…") }}</p>
|
||||
<p aria-hidden="true" id="article_links_right_side_title">{{ article_links_right_side_title | truncate(length=100, end="…") }}</p>
|
||||
{%- endif -%}
|
||||
</div>
|
||||
</nav>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue