Skip to content

Commit

Permalink
fix: lighthouse a11y issues
Browse files Browse the repository at this point in the history
  • Loading branch information
paulovareiro29 committed Sep 20, 2024
1 parent 257f5ab commit 93a1010
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/pages/overview-empty.twig
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

<section class='row'>
<div class='col-12'>
<h2 class='h2 m-0 pb-3 pb-md-4' role='region' aria-live='polite'>Ihre Suche nach "Lorem" ergab 0 Datensätze.</h2>
<p class='h2 m-0 pb-3 pb-md-4' role='region' aria-live='polite'>Ihre Suche nach "Lorem" ergab 0 Datensätze.</p>

{% include 'partials::content-layout/cl_results-empty-state.twig' %}
</div>
Expand Down
4 changes: 1 addition & 3 deletions src/pages/overview.twig
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@

<section class='row'>
<div class='col-12'>
<h2 class='h2 m-0 pb-3 pb-md-4' role='region' aria-live='polite'>
Ihre Suche nach "Struktur" ergab 387 Treffer.
</h2>
<p class='h2 m-0 pb-3 pb-md-4' role='region' aria-live='polite'>Ihre Suche nach "Struktur" ergab 387 Treffer.</p>

{% include 'partials::content-layout/cl_results.twig' %}
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/partials/content-layout/cl_filters.twig
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
</button>
</div>
<div class='offcanvas-body'>
<h3 class='h5 mb-3'><strong>Filtern nach</strong></h3>
<h2 class='h5 mb-3'><strong>Filtern nach</strong></h2>
<div class='d-flex flex-column gap-4' role='region' aria-live='polite'>
{% for category in data %}
<div class='mb-3'>
<h4 class='h6'>
<h3 class='h6'>
<strong>{{ category.title }}</strong>
</h4>
</h3>
<div class='d-flex flex-column gap-2 align-items-start'>
{% for filter in category.filters %}
{% set id = 'filter-' ~ loop.parent.loop.index ~ loop.index %}
Expand Down

0 comments on commit 93a1010

Please sign in to comment.