refactor accesibilidad etiquetas y encabezados

This commit is contained in:
2025-11-03 11:03:58 +00:00
parent ed7c6cfcda
commit 803f86e4be
17 changed files with 69 additions and 43 deletions

View File

@ -8,7 +8,7 @@
{{ function('wp_body_open') }}
<a class="skip-link screen-reader-text" href="#content">{{ _e('Skip to content') }}</a>
<header class="header">
<header class="header" aria-label="Cabecera del sitio">
{% block header %}
<div class="container-fluid text-bg-light">
{% include "partials/top-bar.twig" %}
@ -21,7 +21,7 @@
<!-- nav -->
<div class="align-items-center justify-content-around bg-body-tertiary d-none d-lg-flex">
<div>
<nav class="navbar navbar-expand-lg">
<nav class="navbar navbar-expand-lg" role="navigation" aria-label="Menú principal">
<div class="container-fluid">
<div class="collapse navbar-collapse" id="navbarNavDropdown">
{% include "partials/menu.twig" with {'items': menu.get_items} %}
@ -50,7 +50,7 @@
<!-- footer -->
{% block footer %}
<footer id="footer" class="container-fluid text-bg-dark mt-5 section-footer">
<footer id="footer" class="container-fluid text-bg-dark mt-5 section-footer" role="contentinfo">
{% include 'partials/footer.twig' %}
</footer>
{{ function('wp_footer') }}