# Dyslexie Font Accessibility Plugin

Version: 2.9.1

## Description

A comprehensive WordPress accessibility plugin featuring:

- **Dyslexie Font** - Toggle the Dyslexie typeface on/off
- **Apply to Body/All** - Choose to apply font to body text only or all text including headings
- **Size Control** - Adjust text size (9-48pt)
- **Spacing Control** - Adjust letter and word spacing (0-10px)
- **Interline Control** - Adjust line height (120-180%)
- **Color Selection** - Choose from 10 preset text colors
- **Focus Mode** - Immersive reading experience with clean layout
- **Slide Reader** - Canvas-based smooth reading animation with Gaussian curve

## Installation

1. Upload the `dyslexie-font-plugin` folder to `/wp-content/plugins/`
2. Add your Dyslexie Font files to the `/fonts/` folder
3. Add your logo to the `/images/` folder
4. Activate the plugin through the WordPress admin

## Required Font Files

Place in `/fonts/` folder:
- Dyslexie-Regular.woff2, .woff, .ttf
- Dyslexie-Bold.woff2, .woff, .ttf

## Features

### Slide Reader
- Canvas-based smooth rendering
- Auto-loads text from current page
- Speed, Zoom, and Focus Width controls
- Gaussian curve for gentle size transitions
- Keyboard controls: Space (play/pause), Arrow keys (navigate)

### Focus Mode
- Extracts main content from page
- Clean, distraction-free reading
- Optimized typography

## Changelog

### 2.9.1
- Fixed: "All" mode now applies Dyslexie Font to EVERYTHING: headers, buttons, quotes, spans, divs, links, inputs, labels, and all other text elements
- Clear distinction between Body mode (only paragraphs/lists) and All mode (entire page)

### 2.9.0
- Plugin menu now always uses Dyslexie Font
- Fixed: Website navigation menu is never affected by Body or All mode
- Fixed: Aa button keeps fixed size regardless of font settings
- New SVG logo for menu footer and admin settings
- Improved CSS specificity with :not() selectors for better exclusions

### 2.8.0
- Fixed: Menu no longer changes font when Body or All mode is selected
- Fixed: Headers now correctly get Dyslexie Font in All mode
- New footer design: Reset button on left, Logo on right
- Improved CSS specificity to properly exclude plugin UI from font changes

### 2.7.0
- Default 18px size and 165% line-height now only apply to body text (not headers)
- Bold, italic, and span text inside paragraphs now correctly use Dyslexie Font
- Larger logo in menu footer
- Added "Settings" link on WordPress Plugins page
- Admin can set default font state (ON/OFF) for new visitors

### 2.5.0
- New Canvas-based Slide Reader with smooth Gaussian animation
- Auto-extracts page text for Slide Reader and Focus Mode
- Improved text extraction algorithm
- Fixed Focus Mode close button
- Professional UI design

## Author

Christian Boer / Dyslexie Font
https://www.dyslexiefont.com
