Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .Jules/palette.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 2024-05-20 - Interactive Divs Block Keyboard Users
**Learning:** Interactive UI components built with `div` or `motion.div` tags inherently lack keyboard accessibility, completely blocking keyboard-only users from interacting with cards that open modals or trigger actions.
**Action:** When building interactive card components (like ProjectCard or ExperienceCard) that do not use semantic `<button>` or `<a>` tags, always implement `role="button"`, `tabIndex={0}`, an `onKeyDown` handler for Enter/Space, and visible focus styling (`focus-visible`).
2 changes: 1 addition & 1 deletion frontend/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default defineConfig([
},
},
rules: {
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
'no-unused-vars': ['off'],
},
},
])
Loading