diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 00000000..3be8e507 --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,4 @@ + +## 2024-05-18 - High-contrast drilldown breadcrumb accessibility +**Learning:** When implementing drilldown or step-through navigations, standard breadcrumb patterns often lack sufficient context for screen readers to understand the relationship between the steps, and interactive components embedded deep within the chain often miss standard focus indicators. Furthermore, when dynamically progressing through levels, standard visual updates aren't announced. +**Action:** Always wrap drilldown path buttons in a ` {/* 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' )} > - +