diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 00000000..3756a698 --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,4 @@ +## 2026-07-11 - Drilldown Navigation Accessibility + +**Learning:** Drilldown components that use a sequence of breadcrumb-like buttons inside a generic `
` are not recognized as navigation by screen readers, and dynamic level counters are often missed. +**Action:** Always wrap breadcrumb-style sequences in ` {/* Current Level Content */}
{current.content}
@@ -85,18 +86,18 @@ export function DrilldownNavigation({ onClick={handleBack} disabled={currentLevel === 0} className={clsx( - 'flex items-center gap-2 px-4 py-2 rounded-md text-sm font-medium transition-opacity', + 'flex items-center gap-2 px-4 py-2 rounded-md text-sm font-medium transition-opacity focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-neutral-400', 'hover:opacity-80', currentLevel === 0 ? 'opacity-50 cursor-not-allowed text-neutral-500' : 'text-neutral-300' )} > - +