From b801bfe1c88b239004cf18e39241affcea9d3c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Birkemeyer?= Date: Tue, 31 May 2022 21:02:57 +0000 Subject: [PATCH] Use ordered list for breadcrumbs to indicate hierarchical order This follows the official breadcrumb pattern recommendation at https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/ --- .../views/Navigation/breadcrumbs-blocks-BEM.html.twig | 4 ++-- src/Resources/views/Navigation/breadcrumbs.html.twig | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Resources/views/Navigation/breadcrumbs-blocks-BEM.html.twig b/src/Resources/views/Navigation/breadcrumbs-blocks-BEM.html.twig index c12e6e1..a5c6bd8 100644 --- a/src/Resources/views/Navigation/breadcrumbs-blocks-BEM.html.twig +++ b/src/Resources/views/Navigation/breadcrumbs-blocks-BEM.html.twig @@ -10,7 +10,7 @@ {% block breadcrumbs_label %} {{ "webfactory_navigation.breadcrumb_label"|trans({}, 'webfactory-navigation') }} {% endblock %} - + {% endif %} {% endblock %} diff --git a/src/Resources/views/Navigation/breadcrumbs.html.twig b/src/Resources/views/Navigation/breadcrumbs.html.twig index 3576829..6fbc713 100644 --- a/src/Resources/views/Navigation/breadcrumbs.html.twig +++ b/src/Resources/views/Navigation/breadcrumbs.html.twig @@ -1,7 +1,7 @@ {% if breadcrumbs is defined and breadcrumbs|length > 1 %} {% endif %}