From a5df906af393bdcdb0d08bf2c56418805435a370 Mon Sep 17 00:00:00 2001 From: Kris Date: Thu, 28 Sep 2023 13:30:07 -0400 Subject: [PATCH] A11Y: add `aria-current` to active navigation item (#23691) --- .../discourse/app/components/navigation-item.hbs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/app/components/navigation-item.hbs b/app/assets/javascripts/discourse/app/components/navigation-item.hbs index bfd5ad0f880..2353b2c540e 100644 --- a/app/assets/javascripts/discourse/app/components/navigation-item.hbs +++ b/app/assets/javascripts/discourse/app/components/navigation-item.hbs @@ -1,4 +1,8 @@ - + {{#if this.hasIcon}} {{/if}}