debugfest/two-zero-four-eight
Feature Request: Add Accessibility Features and Theme Switcher
開放
#4 建立於 2025年10月11日
enhancementgood first issuehacktoberfest
倉庫指標
- 星標
- (0 顆星)
- PR 合併指標
- (PR 指標待抓取)
描述
The current game design lacks accessibility options such as dark mode and larger/tactile buttons, making it harder for visually impaired or younger players to enjoy. A theme switcher and accessibility improvements can significantly enhance usability.
🎯 Proposed Solution
- Add a Theme Switcher for light/dark modes.
- Introduce accessibility settings:
- Larger buttons.
- High-contrast color scheme.
- Keyboard navigation and focus indicators.
- Save theme and accessibility preferences locally.
✅ Expected Behavior
- Users can toggle between light and dark modes.
- Buttons are larger and accessible via keyboard.
- All UI elements meet WCAG AA contrast standards.
💻 Technical Notes
- Use CSS variables or Tailwind theme configuration for theming.
- Ensure ARIA roles for interactive elements.
- Use prefers-color-scheme media query for default theme detection.
🧪 Test Steps
- Switch to Dark Mode → verify consistent UI styling.
- Navigate with keyboard → ensure focus states are visible.
- Check contrast ratio using Lighthouse Accessibility Audit.