mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
23737d8cd3
Improved screen reader support and accessibility compliance by adding: **Landmark Roles:** - Added role="main" to main article content area - Added role="navigation" to primary sidebar navigation - Added role="search" to search component **ARIA Labels:** - Added aria-label="Primary navigation" to nav sidebar - Added aria-label="Breadcrumb" to breadcrumb navigation - Added aria-label="Search Bible, topics, and resources" to search input - Added aria-label="Toggle navigation sidebar" to sidebar toggle - Added aria-label="Toggle dark mode" to dark mode button - Added descriptive aria-labels to all collapsible sections (Old/New Testament, Daily Reading, Study Resources, Reference Tools) **ARIA States:** - Added aria-expanded to all summary elements in collapsible sections - Added aria-live="polite" to search results dropdown for dynamic updates - Added aria-hidden="true" to decorative checkbox input - Added role="listbox" to search dropdown for proper semantics **Impact:** - Screen readers can now properly identify page structure and landmarks - Users can navigate directly to main content, navigation, or search - Collapsible sections announce their state (expanded/collapsed) - Search results are announced to screen readers as they update - Significantly improved WCAG 2.1 compliance All 43 web route tests pass. No functional changes to the site.