The aim of this repo is to provide a simple eBook stylesheet which follows the best practices regarding styles for dyslexia. Please note I am by no means what you would call an expert, I’m just trying to help and make a positive impact.
Let’s hope it shakes people a little bit so that we don’t just embed dedicated typefaces in Reading Systems and call the job done. Hopefully, it will also offer a sensible starting point for people to whom it might be useful.
You are warmly invited to give feedback.
All files available in this repo—excepted the EPUB sample—are licensed under Creative Commons Zero, which means you can copy, modify, distribute and use them for free, including commercial purposes, without asking permission or providing attribution.
Just add this stylesheet in your eBook. It was designed to override the stylesheets that are already present in the file. However, given the state of eBook Production, it is quite impossible to override anything in the best conditions (e.g. unsemantic markup).
- Trebuchet MS is the default typeface (it seems to be one of the dys readers’ favorites).
- Text is left-aligned, without hyphens.
- Italics are styled as bold. (to confirm)
- We try to override drop caps.
- Headings in bigger
font-size+ bold + lowercase.
- Block paragraphs (no indent, top margin).
- Yellow, mint, blue and pink backgrounds are provided as classes for body if needed.
- A baseline grid can be added using class
- A border is declared for
- The title of
abbris displayed between parentheses. (to confirm)
sub/supis set to baseline. (to confirm)
- Since decorative images may interfere, we try to hide them. (to confirm or make functional
word-spacing(gah, weird bug in webkit)
lake placid blue and pink backgrounds a horizontal line to show text’s baseline may help some
- Microsoft Accessibility Blog
- Apple’s Accessibility Resources
- The A11y Project — Resources
- Android Developers Accessibility