diff --git a/js/components/breadcrumbs.js b/js/components/breadcrumbs.js index 2ea333e6c..6255a74f8 100644 --- a/js/components/breadcrumbs.js +++ b/js/components/breadcrumbs.js @@ -84,7 +84,8 @@ $(function() } else if (oEntry['icon'].length > 0) { - sIconSpec = ''; + // Mind the empty "alt" attribute https://www.w3.org/WAI/tutorials/images/decorative/ + sIconSpec = ''; } var sTitle = oEntry['description'], diff --git a/templates/base/components/global-search/layout.html.twig b/templates/base/components/global-search/layout.html.twig index b5c2e8158..f98666076 100644 --- a/templates/base/components/global-search/layout.html.twig +++ b/templates/base/components/global-search/layout.html.twig @@ -24,7 +24,8 @@ {% for aQuery in oUIBlock.GetLastQueries() %} {% if aQuery.icon_url is defined %} - + {# Mind the empty "alt" attribute https://www.w3.org/WAI/tutorials/images/decorative/ #} + {% endif %} {{ aQuery.label_html|raw }} diff --git a/templates/base/components/quick-create/layout.html.twig b/templates/base/components/quick-create/layout.html.twig index 92261661b..4528ed447 100644 --- a/templates/base/components/quick-create/layout.html.twig +++ b/templates/base/components/quick-create/layout.html.twig @@ -28,7 +28,8 @@ {% for aClass in oUIBlock.GetLastClasses() %} {% if aClass.icon_url is defined %} - + {# Mind the empty "alt" attribute https://www.w3.org/WAI/tutorials/images/decorative/ #} + {% endif %} {{ aClass.label_html|raw }}