Skip to content

Theme and accessibility

Light, dark and high contrast themes with the reader settings of the Skribly apps: text size, reduced motion, a strong focus ring and underlined links. Also the small pieces every page needs: a skip link, hidden labels and live announcements. Built to WCAG 2.2 AA as a target.

6 pages, 8 exports

  • ThemeProvider
  • ThemeToggle
  • ThemeScript
  • AccessibilityProvider
  • AccessibilitySettings
  • SkipLink
  • VisuallyHidden
  • LiveRegion

ImportLink to the section Import

Each group has its own entry, so an app that needs only this group loads only this group. Everything is also exported from @skribly/ui.

tsx
import { ThemeProvider, ThemeToggle, ThemeScript, AccessibilityProvider, … } from '@skribly/ui/theme'

Pages in this groupLink to the section Pages in this group

Search this site

Arrows move through the results, Enter opens one, Esc closes. Ctrl K /