Commit graph

11 commits

Author SHA1 Message Date
d8c5cacb59 fix: Phase 2 accessibility improvements (45 errors fixed)
Fixed accessibility errors across multiple component categories:

**Admin Modal Components (7 errors fixed):**
- BaseModal: Added role="presentation" to backdrop, role="dialog" to modal
- BaseModal: Added tabindex and keyboard handlers
- MediaDetailsModal: Added track element for video captions

**Admin Form Components (2 errors fixed):**
- EssayForm: Changed label to div for Tags section
- PhotoPostForm: Changed label to div for Caption section

**File Upload Components (11 errors fixed):**
- FileUploadZone: Added role="region" and aria-label to drop zone
- GalleryManager: Changed label to div, added role="button" to draggable items
- GalleryUploader: Added role, aria-label, tabindex to drop zones and gallery items
- ImagePicker: Changed label to div
- ImageUploader: Changed label to div, added role/aria-label to drop zone
- MediaInput: Changed label to div

**Admin List Components (4 errors fixed):**
- PostDropdown: Added role="menuitem", tabindex, keyboard handler to menu items
- PostListItem: Changed article to div with role="button", added keyboard handler

**Public UI Components (14 errors fixed):**
- AppleMusicSearchModal: Added role="presentation" to overlay, role="dialog" to container
- Avatar: Added role="presentation" to hover container
- Lightbox: Added role="dialog", tabindex, keyboard handlers
- ProjectContent: Fixed redundant alt text on gallery images
- Slideshow: Added role="button", tabindex, keyboard handlers to clickable images
- TiltCard: Added role="presentation" to tilt container

**Editor Components (5 errors fixed):**
- LinkEditDialog: Added role="dialog" and tabindex
- UrlEmbedExtended: Changed role from "article" to "button" for interactive embed cards

**Route Pages (2 errors fixed):**
- admin/media/upload: Added role="region" and aria-label to drop zone
- photos/[id]: Added role="presentation" to mouse tracking container

Total: 45 accessibility errors fixed (109 → 64 errors remaining)
2025-11-24 03:20:57 -08:00
Devin AI
3f5969a08c lint: remove unused imports and variables (11 fixes)
Co-Authored-By: Justin Edmund <justin@jedmund.com>
2025-11-23 14:26:56 +00:00
3d7eb6e985 refactor: consolidate now playing detection into single music stream store
- Merge albumStream and nowPlayingStream into unified musicStream store
- Simplify confidence scoring to binary detection (playing/not playing)
- Create single source of truth for music state across components
- Fix synchronization issues between header and album indicators
- Make Album spring animation more subtle (stiffness: 150, damping: 25)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 21:32:14 -07:00
4aaf33f19e Ran linter 2025-06-16 17:05:43 +01:00
4ffcb25a67 Updates for now playing 2025-06-14 18:52:13 -04:00
4a99aca101 Use new Avatar component 2025-06-14 14:09:08 -04:00
f41df1d5e8 Avatar now playing reactivity 2025-06-14 00:45:03 -04:00
c7b4f57ab0 tbh i dont know whats going on anymore 2025-05-31 02:08:26 -07:00
3d58dd5b46 Updates to design
* Disabled games for now
* Added failsafe for when last.fm can't find an album
* Updated to use rems
* Extracted RecentAlbums into a component
* Fixes for mobile
2024-11-18 02:10:15 -08:00
Justin Edmund
8c31d08064 Updated to use Svelte 5 runes 2024-07-12 16:56:01 -04:00
Justin Edmund
980a6395f1 Add Avatar component
This is an interactive jedmund avatar. It blinks once or twice randomly, and opens its mouth wide when you hover over it
2024-07-12 08:44:23 -04:00