Description
Make your WordPress website accessible to all users with this comprehensive accessibility toolkit. Perfect for improving inclusivity and meeting WCAG 2.1 Level AA compliance standards.
Key Features
🔤 Font Size Control
Increase, decrease, or reset font size with easy-to-use buttons. A configurable maximum zoom (110-200%) keeps layouts usable.
📖 Dyslexia-Friendly Font
Toggle OpenDyslexic font instantly across your entire site. The embedded font improves readability for users with dyslexia without external requests.
🌙 Dark Mode
Material Design standard dark mode (#121212 background) with customizable colors and adjustable opacity. Reduces eye strain during extended reading sessions.
⚫⚪ High Contrast Mode
WCAG AAA compliant high contrast mode with black background and yellow text. Enhances visibility for users with visual impairments.
📍 Flexible Widget Positioning
Choose from four positioning modes:
* Floating: Circular button positioned anywhere (customizable px/%)
* Edge Left: Rectangle button attached to left edge
* Edge Right: Rectangle button attached to right edge
* Edge Bottom: Rectangle button attached to bottom edge
🌍 Translation Ready
Fully internationalized with WordPress i18n standards. English included, easy to add your language.
Accessibility Standards
- WCAG 2.1 Level AA compliant
- Keyboard navigation support
- ARIA labels and roles
- Focus management
- High contrast mode meets WCAG AAA standards
Performance
- Lightweight CSS and plain JavaScript (no jQuery needed on the frontend)
- Embedded font files (no external requests)
- No cookies: preferences are kept in the visitor’s browser (localStorage)
- Efficient DOM manipulation
- No impact on page load times
User-Friendly
All user preferences are automatically saved and restored on subsequent visits using browser storage.
Configuration
After activation, navigate to Settings → Accessibility Toolkit:
Widget Position Settings
* Choose positioning mode (Floating, Edge Left, Edge Right, Edge Bottom)
* Set precise offsets using pixels or percentages
* Configure the maximum zoom (110-200%)
* Hide the widget on small screens or on chosen pages
Widget Language
* Automatic (follows the site language, English when there is no translation), English, Hungarian, German, Norwegian (bokmål), Swedish, Danish
* “Other”: write the visitor-facing texts yourself (empty fields use the English text)
* The settings screen itself always stays in English
Widget Colors
* Accent color (button, header, control buttons) and its text color
* Panel background and text color
* Reset button color and its text color
Dark Mode Settings
* Customize background color (default: #121212)
* Set text color (default: #ffffff)
* Adjust background opacity (0.0 – 1.0)
High Contrast Settings
* Choose one of four presets, or pick custom colors
* Customize background color (default: #000000)
* Set text color (default: #ffff00)
* Set link color (default: #00ffff)
Technical Details
Browser Compatibility
* Chrome, Firefox, Safari, Edge (latest versions)
* Mobile browsers (iOS Safari, Chrome Mobile)
* Touch-friendly interface
Requirements
* WordPress 5.0 or higher
* PHP 7.0 or higher
Source Code
* Readable sources: assets/js/frontend.js, assets/js/admin.js, assets/css/frontend.css, assets/css/admin.css
* The plugin loads the minified *.min.js / *.min.css files built from them
File Structure
* Clean, organized codebase
* Follows WordPress coding standards
* Security best practices (nonces, escaping, sanitization)
* Translation ready
Support
For support, feature requests, or bug reports:
* GitHub: https://github.com/Midgardsson/wp-accessibility-plugin/issues
* WordPress.org Support Forum
Credits
- OpenDyslexic font by Abbie Gonzalez (https://opendyslexic.org), licensed under the SIL Open Font License 1.1 (license text embedded in the font file)
- Material Design color standards by Google
- WCAG guidelines by W3C
- Developed by Midgardsson
Privacy
This plugin stores the visitor’s accessibility preferences only in their own browser, using localStorage. It sets no cookies (a cookie left by versions before 1.0.10 is removed automatically).
No data is sent to your server or to any third party. All preferences remain on the visitor’s device.
Installation
- Upload the plugin files to
/wp-content/plugins/midgardsson-accessibility-toolkit/directory, or install through WordPress plugins screen - Activate the plugin through the ‘Plugins’ screen in WordPress
- Navigate to Settings → Accessibility Toolkit to configure
- The accessibility widget will appear on your site’s frontend
FAQ
Does this work with any theme?
Yes! The Accessibility Toolkit is designed to work with any WordPress theme. The widget is positioned independently and doesn’t conflict with theme layouts.
Are user preferences saved?
Yes, all accessibility settings are saved in the user’s browser using localStorage and persist across sessions. The plugin sets no cookies.
Can I customize the colors?
Absolutely! Navigate to Settings → Accessibility Toolkit in your WordPress admin to customize:
* Dark mode background and text colors
* Dark mode background opacity
* High contrast mode colors
* Widget positioning
How far can visitors enlarge the text?
By default up to 200%, the level WCAG asks text to be resizable to. You can lower the limit in the plugin settings (range: 110-200%).
Can I hide the widget on some pages or on phones?
Yes. In Settings → Accessibility Toolkit → General you can hide it on small screens and on chosen pages (IDs or slugs). Developers can also use the midgacto_show_widget filter. The widget is never shown inside page builder editors.
Is this WCAG compliant?
Yes! The plugin supports WCAG 2.1 Level AA standards, and the high contrast mode meets WCAG AAA standards. Full site compliance depends on your overall content and structure.
Does it work on mobile devices?
Yes, the plugin is fully responsive and touch-friendly. The widget adapts to all screen sizes.
Will it slow down my site?
No. The plugin is lightweight with minimal CSS and JavaScript. Font files are embedded to avoid external requests.
Changelog
1.0.10 (2026-11-16)
- Fix: the plugin no longer changes the focus outline of the whole site; it only styles focus inside its own widget
- Fix: Grayscale (formerly “Mono”) no longer breaks fixed headers, cookie banners and popups on the page
- Fix: High Contrast keeps images, background images and image overlays visible (like the operating systems’ high contrast modes, only text gets a solid background), and no longer distorts photos
- Fix: High Contrast text and link colors now win over strong theme rules (for example “#id .class { color: … !important }” or gradient text), in every color scheme
- Fix: in Dark Mode, buttons and form fields of the theme stay recognisable
- Fix: in Dark Mode and High Contrast, menus, dropdowns, cookie banners, sticky headers and popups keep a solid background (also when they appear later), while image overlays stay transparent
- Fix: enlarged text follows the layout again when the window width changes (e.g. when a phone is rotated)
- New: hide the widget on small screens or on chosen pages; it is never shown inside page builder editors (Elementor, Beaver Builder, Divi, Bricks, Oxygen, Thrive, WPBakery, Brizy); developer filter midgacto_show_widget
- Change: “Maximum Font Size” (px) is now “Maximum Zoom” (110-200%); existing settings are converted automatically
- Change: the “Mono” option is now called “Grayscale” (translated in all bundled languages)
- Performance: the frontend widget no longer needs jQuery
- Privacy: no cookies; preferences are kept in the visitor’s browser (localStorage) only, and the cookie of older versions is removed
- Updated the translation template (.pot), plugin requirements headers, “Tested up to” and the OpenDyslexic credit
1.0.9 (2026-10-30)
- Display: High Contrast links now use a thin, offset underline so they stay distinguishable without hurting readability
- Display: the widget’s buttons now scale together with the page’s text size
- Fix: the open panel now always stays inside the browser window in every position mode (it moves up or sideways when needed, and scrolls only if the window is smaller than the panel)
- The Dyslexia font size controls are hidden for now (the font scales well on its own)
- Fix: switching on the Dyslexia-Friendly Font no longer changes the spacing, line height or letter spacing inside the widget panel itself
- Accessibility: button labels now include their visible text (“A+”, “A-“)
- New: the widget colors (accent, panel background and text, reset button) can be customised in Settings → Accessibility Toolkit
- New: visitors can choose between four High Contrast color schemes (yellow on black, white on black, black on white, black on yellow) in the widget; the choice is remembered. The site owner sets the default scheme and can use custom colors (including the link color)
- New: Hungarian, German, Norwegian, Swedish and Danish translations of the new widget strings
- New: live contrast ratio (WCAG AA / AAA) shown next to every color pair on the settings screen
- New: language selector for the widget in the settings (Automatic, English, Hungarian, German, Norwegian, Swedish, Danish, or “Other” to write the widget texts yourself); the widget gets a matching lang attribute
- New: the settings screen is organised in tabs (General, Language, Widget Colors, Dark Mode, High Contrast); all tabs are saved together, and the last open tab is remembered
- New: Help on the settings screen, both as a Help tab next to the settings tabs and as the WordPress contextual Help (overview, position, language, colors and contrast, privacy and cache)
- Fix: the settings screen is always English, even when the admin language has a translation for the widget texts
- Note: the WCAG contrast levels apply to the default and preset colors only; custom colors are the site owner’s responsibility
- The plugin now loads minified assets (*.min.js / *.min.css); the readable sources are included alongside
1.0.8 (2026-10-05)
- Security: removed the unnecessary server-side AJAX endpoint and cookie; preferences are now stored only in the visitor’s browser
- Security: stricter validation of settings (position, offsets, colors, opacity, max font size)
- Fix: Font Size and Dyslexia-Friendly Font no longer override each other; original inline font styles are restored on reset
- Fix: clicking outside the panel no longer moves keyboard focus to the toggle button
- Fix: widget position settings (top/bottom, left/right) now work as shown in the settings screen
- Fix: panel no longer jumps on hover or when toggling options; fixed panel width and no scrollbar
- Fix: dark mode / high contrast no longer flash white on page load
- Fix: removed forced underline in High Contrast mode
- Fix: embedded iframes and icons no longer distorted when font size is increased
- Accessibility: panel is now a dialog with keyboard focus trap, labelled heading, decorative icons hidden, live font size value
- Accessibility: respects the “reduce motion” system preference
- Display: more compact panel layout
- Removed unused code; added uninstall cleanup
1.0.7 (2026-08-20)
- New: the frontend accessibility widget is now translated into German, Hungarian, Norwegian, Swedish, and Danish (auto-detected from the site’s language)
- The admin settings screen stays in English by design
1.0.6 (2026-08-19)
- Display: widget footer credit no longer picks up the site’s colors
- Display: more compact Font Size controls in the panel
- Fix: panel could extend past the screen with Dyslexia Font Size options open
1.0.5 (2026-08-19)
- Display: slightly larger paragraph text under Dyslexia-Friendly Font
- Fix: widget panel’s own styling could occasionally be affected by Dyslexia-Friendly Font
1.0.4 (2026-08-19)
- Display: corrected Dyslexia-Friendly Font rendering noticeably larger than intended
- Fix: Dyslexia-Friendly Font could break navigation menu layouts on some themes
- Fix: occasional inconsistent text sizing when switching Dyslexia-Friendly Font on/off
1.0.3 (2026-08-19)
- Fix: Dyslexia-Friendly Font not applying on some themes (headings, paragraphs, menus)
- Fix: text could appear far too large on some page layouts with Dyslexia-Friendly Font on
- Display: Dyslexia-Friendly Font now applies consistently across the whole page
1.0.2 (2026-08-18)
- Fix: widget could fail to load on themes that delay jQuery loading
1.0.1 (2026-08-18)
- Fix: widget could fail to appear on certain themes
- Display: improved widget positioning reliability across themes
1.0.0 (2025-11-23)
- Initial release
- Font size controls with configurable max limit (16-60px)
- Dyslexia-friendly font toggle with embedded OpenDyslexic
- Dark mode with Material Design colors and adjustable opacity
- High contrast mode with WCAG AAA compliant colors
- Four widget positioning modes (Floating, Edge Left/Right, Edge Bottom)
- Precise positioning control (pixels or percentages)
- Internationalization support with .pot template
- LocalStorage with cookie fallback
- Keyboard navigation support
- ARIA labels and semantic HTML
- Mobile responsive design
