Skip to content

Commit

Permalink
feat: implement missing aria-live
Browse files Browse the repository at this point in the history
  • Loading branch information
paulovareiro29 committed Sep 20, 2024
1 parent 32c7e18 commit e00bb23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/overview-empty.twig
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

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

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

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

{% include 'partials::content-layout/cl_results.twig' %}
</div>
Expand Down

0 comments on commit e00bb23

Please sign in to comment.