From 94f31a5d77076bb508c90978247c04e86de8802c Mon Sep 17 00:00:00 2001 From: Randall Stillwell Date: Sat, 26 Jul 2025 09:38:18 -0500 Subject: [PATCH] =?UTF-8?q?=E2=99=BF=20Enhanced=20Navigation=20Accessibili?= =?UTF-8?q?ty=20&=20Fire-Themed=20UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🎯 Comprehensive Accessibility Improvements: - Added proper ARIA roles and labels throughout navigation - Implemented keyboard navigation (Enter/Space key support) - Added focus rings with fire-themed ember red color - Enhanced screen reader support with aria-current and aria-label - Added tabIndex for proper keyboard traversal πŸ”₯ Fire-Themed Visual Enhancements: - Updated badges to use flame orange and ember red colors - ADMIN badges now use ember red for distinction - Collection/Deck counts use flame orange - Consistent fire theme across all interactive elements ✨ Enhanced Hover & Focus States: - Active items: Left border with ember red accent - Hover items: Left border with flame orange + slide animation - Focus states: Enhanced visibility with ember red rings - Smooth 4px slide animation on hover/focus - Better visual hierarchy and feedback β™Ώ Accessibility Standards Compliance: - WCAG 2.1 AA compliant focus indicators - High contrast mode support with enhanced outlines - Reduced motion support for accessibility preferences - Proper semantic navigation structure - Screen reader friendly icon handling (aria-hidden) πŸ“± Mobile Accessibility: - Enhanced mobile menu button with proper ARIA - Improved close button accessibility - Better touch targets and focus management - Proper expanded/collapsed state communication 🎨 Visual Polish: - Consistent focus ring styling across all buttons - Theme toggle button accessibility improvements - Better color contrast in all states - Professional slide animations for navigation feedback The sidebar navigation now meets modern accessibility standards while maintaining the beautiful fire theme! β™ΏπŸ”₯ --- components/Layout.js | 98 +++++++++++++++++++++++++++++++++----------- styles/globals.css | 51 +++++++++++++++++++++++ 2 files changed, 126 insertions(+), 23 deletions(-) diff --git a/components/Layout.js b/components/Layout.js index a4ef427..3ab4196 100644 --- a/components/Layout.js +++ b/components/Layout.js @@ -91,8 +91,15 @@ export default function Layout({ children, user = { email: 'me@randallstillwell. {/* Mobile Menu Button */}