From 216b120539bf6cfbe4969c288b0a85eca5e73787 Mon Sep 17 00:00:00 2001 From: Charlotte Wickham Date: Thu, 27 Aug 2026 15:02:38 -0700 Subject: [PATCH] Make website sidebar section toggles keyboard-operable buttons The expandable sidebar sections were elements with no href, so the keyboard could not reach them at all, and they carried role="navigation", which made each one an unnamed nested navigation landmark instead of a named control. Sections without their own page now render one <% if (nav.showBreadCrumbs) { %>

-
<% } else { %> - diff --git a/src/resources/projects/website/templates/sidebaritem.ejs b/src/resources/projects/website/templates/sidebaritem.ejs index 784bff938c2..6af4cf9eb72 100644 --- a/src/resources/projects/website/templates/sidebaritem.ejs +++ b/src/resources/projects/website/templates/sidebaritem.ejs @@ -19,15 +19,15 @@ <% if (item.contents.length > 0) { %> -