From 982ccdf51297ed0df15632177d922dceb7424457 Mon Sep 17 00:00:00 2001 From: Joseph Replin Date: Mon, 20 Feb 2023 16:30:19 -0600 Subject: [PATCH] Fix: Normalizing template icons (fixes: #21) --- js/adapt-homeButton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/adapt-homeButton.js b/js/adapt-homeButton.js index 7fd322f..7e3c720 100644 --- a/js/adapt-homeButton.js +++ b/js/adapt-homeButton.js @@ -48,7 +48,7 @@ class HomeButton extends Backbone.Controller { this.$html.toggleClass('hide-nav-back-btn', Boolean(currentModelConfig?._hideBackButton)); const altText = (currentModelConfig?.alt || courseConfig?.alt || ''); const $backButton = $('button[data-event="backButton"]'); - const $icon = $('
', { class: 'icon' }); + const $icon = $('
', { class: 'icon', 'aria-hidden': true }); const $homeButton = $('