Redundant ARIA role and relative class

This commit is contained in:
madrilene 2023-10-30 12:29:45 +01:00
parent 1adebea8cc
commit f2dbfdbca7
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{% set activePage = page.url | url %} {% set activePage = page.url | url %}
<footer class="site-foot" role="contentinfo"> <footer class="site-foot">
<div class="wrapper"> <div class="wrapper">
<div class="site-foot__inner"> <div class="site-foot__inner">
<nav id="footernav" class="site-foot__inner text-step-0" aria-label="Footer"> <nav id="footernav" class="site-foot__inner text-step-0" aria-label="Footer">
@ -42,7 +42,6 @@
</div> </div>
</div> </div>
<!-- lang menu -->
</footer> </footer>

View file

@ -1,6 +1,6 @@
<a href="#main" class="skip-link">{{ meta.skipContent }}</a> <a href="#main" class="skip-link">{{ meta.skipContent }}</a>
<header class="wrapper | relative" role="banner"> <header class="wrapper">
<div class="site-head | ontop spot-color-primary"> <div class="site-head | ontop spot-color-primary">
{% set activePage = page.url | url %} {% set activePage = page.url | url %}
<a href="/" class="logo site-head__brand | no-underline" {% if activePage === '/' %} aria-current="page" {% endif %}> <a href="/" class="logo site-head__brand | no-underline" {% if activePage === '/' %} aria-current="page" {% endif %}>