Remove aria-labelledBy from blog post pagination

This commit is contained in:
Helen Chong 2024-06-15 18:25:15 +08:00
parent 4180931177
commit 225f8782fa
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
{{ content | safe }} {{ content | safe }}
{% if tags and tags.includes("posts") %} {% if tags and tags.includes("posts") %}
<nav class="blog__post--pagination" aria-labelledby="blog-pagination"> <nav class="blog__post--pagination">
<h2 class="visually-hidden">Next and Previous Blog Posts</h2> <h2 class="visually-hidden">Next and Previous Blog Posts</h2>
{%- if collections.posts %} {%- if collections.posts %}
{%- set previousPost = collections.posts | getPreviousCollectionItem %} {%- set previousPost = collections.posts | getPreviousCollectionItem %}