# Dyslexie Font Accessibility Plugin

Version: 2.9.3

## 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-48px)
- **Spacing Control** - Adjust letter and word spacing (0-10px)
- **Interline Control** - Adjust line height (120-220%)
- **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-accessibility` folder to `/wp-content/plugins/`
2. Activate the plugin through the WordPress admin

## 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.3
- Security: Focus Mode now always inserts page text as plain text, so text on a page can never run as code
- Fixed: The "Default Font State" setting now works. With ON, new visitors get Dyslexie Font automatically
- Fixed: Interline and Size sliders now also work while Dyslexie Font is on
- Fixed: Focus Mode and Slide Reader no longer repeat quotes, list items and other nested text
- Fixed: Website menus now keep the theme's own font, size and spacing in Body and All mode
- Improved: Screen reader names for the controls in the menu, Slide Reader and Focus Mode
- Tested with WordPress 7.1 on PHP 7.4 and PHP 8.5

### 2.9.2
- Checked Plugin with wordpress 7.0


### 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
