From 86fbdf662ce6e626c56fdc43aa6502da87f9bd71 Mon Sep 17 00:00:00 2001 From: seonghobae <8172694+seonghobae@users.noreply.github.com> Date: Tue, 8 Sep 2026 18:54:46 +0000 Subject: [PATCH 1/4] Add context switch warning to external target="_blank" links --- .jules/palette.md | 4 ++++ scanner/dashboard/index.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.jules/palette.md b/.jules/palette.md index ea004e2d..fd1617b8 100644 --- a/.jules/palette.md +++ b/.jules/palette.md @@ -81,3 +81,7 @@ ## 2026-08-12 - Skip to Content Accessibility **Learning:** Screen reader and keyboard-only users experience significant friction when forced to navigate through repetitive header controls on every page load. **Action:** Keep a visible-on-focus skip link as the first interactive element, target a programmatically focusable main container, and give the focused link a high-contrast outline. + +## 2026-09-08 - Context switch warning for external links +**Learning:** Links opening in a new tab (`target="_blank"`) cause an unexpected context switch for screen reader users, confusing navigation. +**Action:** When using `target="_blank"`, always add `aria-label="[Link name] (opens in a new tab)"` or a visually hidden text element to explicitly warn screen reader users of the context switch. diff --git a/scanner/dashboard/index.html b/scanner/dashboard/index.html index 132bc31b..8df0a0ee 100644 --- a/scanner/dashboard/index.html +++ b/scanner/dashboard/index.html @@ -281,7 +281,7 @@