Overview of Accessible Astro Dashboard features
mainThe Accessible Astro Dashboard is a WCAG-compliant admin interface template built with Astro. It includes several built-in accessibility features and components:
Core Components
Navigation.astro: A keyboard-accessible sidebar (desktop) that switches to mobile navigation on smaller viewports. Supports arrow keys and the Escape key. User menu width preference is persisted vialocalStorage.SkipLinks.astro: Provides links to skip directly to the main menu or main content.DarkMode.astro: An accessible toggle for dark/light mode that persists user preference inlocalStorage.ResponsiveToggle.astro: An accessible button for controlling mobile navigation.LoginForm.astro: An accessible login form with built-in form controls.DashboardWidget.astro: A component designed for dashboard metrics/widgets.Pagination.astro: Component for paginating results.Media.astro: Component for handling images.EmptyState.astro: Component for displaying pages with no data.
Accessibility Utilities
.sr-only: A utility class for content that should only be visible to screen readers.prefers-reduced-motion: Automatically disables animations if the user has this preference enabled in their OS.- Outline Focus Indicators: High-visibility focus indicators that work on both dark and light backgrounds.
Preinstalled Packages
Accessible Astro Components: Provides extra components like Accordions, Modals, and Notifications.Astro Icon: For integrating icons throughout the dashboard.