Inspiration & Barrier Removed
Dense STEM textbooks and online worksheets create compounding barriers for dyslexic, low-vision, and screen-reader learners: raw LaTeX expressions (like integrals and fractions) fail to read coherently, low-contrast themes strain eyes, and unbroken paragraphs spike cognitive load.
Concrete Before-and-After Example
- Before: A student using a screen reader or needing dyslexia accommodations encounters a dense physics/calculus block containing
\\int_0^\\pi \\sin(x)\\,dx = 2in low-contrast gray-on-white text—screen readers stumble over raw backslashes and symbols, and long unbroken lines cause tracking fatigue. - After: LexiLab transforms the same passage into Bionic Reading fixation spans, syllable-chunked lines with an adjustable line-focus ruler, converts
\\int_0^\\pi \\sin(x)\\,dx = 2into plain-English spoken output ("the integral from 0 to pi of sine of x d x equals 2") for Web Speech API TTS, and switches to a verified WCAG 2.2 AA/AAA palette.
What LexiLab Does
- Adaptive Reading Transforms: Real-time Bionic Reading bolding, syllable chunking, line-focus reading ruler, and sentence-density breakdowns (Flesch-Kincaid grade level + cognitive load score).
- STEM Math-to-Speech: Deterministic LaTeX-to-plain-English translator powering browser-native Web Speech API narration and screen-reader-friendly ARIA text.
- Live WCAG 2.2 Contrast Auditor & 4 Adaptive Palettes: Instant contrast ratio verification (AA/AAA) across Warm Cream, High-Contrast Obsidian, Soft Mint, and Dyslexia Amber.
- Offline Study-Guide Export: Exports transformed, accessible study guides as standalone HTML or Markdown files for zero-connectivity review.
How We Built It, Credits & Verification
- Tech Stack: Built with React, TypeScript, Vite, Vitest, and Kiro CLI.
- Zero Paid External APIs: Runs 100% client-side using standard Web APIs (Web Speech API) with zero external API keys or backend costs.
- Verification: 31/31 Vitest unit tests passing covering math-to-speech conversion, syllable chunking, readability/cognitive-load scoring, and WCAG contrast math.
Honest Limitations & What's Next
- Syllable splitting currently uses a rule-based English heuristic rather than a full morphological dictionary.
- Adaptive readability metrics measure line/syllable chunking and sentence density rather than semantic vocabulary simplification.
Built With
- accessibility
- react
- typescript
- vite
- vitest