From 20ded95d369bc14c8ceddf8ebc4c44d2296219d7 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 3 Dec 2025 01:37:05 -0500 Subject: [PATCH] Add sidebarActive check to accessibility page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prevents sidebar nav from interfering with content nav on the accessibility page. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- kjvstudy_org/templates/accessibility.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kjvstudy_org/templates/accessibility.html b/kjvstudy_org/templates/accessibility.html index 772cd0f..203696f 100644 --- a/kjvstudy_org/templates/accessibility.html +++ b/kjvstudy_org/templates/accessibility.html @@ -564,6 +564,8 @@ if (e.target.tagName === 'INPUT' || e.target.tagName === 'TEXTAREA' || e.target.tagName === 'SELECT') { return; } + // Don't handle if sidebar navigation is active + if (KJVNav.sidebarActive) return; if (e.key === 'j' || e.key === 'ArrowDown') { e.preventDefault();