Accessibility Toolkit Documentation
Powerful Accessibility Features
A comprehensive suite of tools designed to make your website accessible to everyone. Each feature is carefully crafted to meet WCAG 2.1 AAA standards while maintaining a beautiful user experience.
Visual Adjustments
Font Size Control
Allow users to increase or decrease text size up to 200% without breaking the layout. Includes reset functionality to return to default sizing. Perfect for users with visual impairments or reading difficulties.
High Contrast Mode
Toggle between standard and high contrast color schemes with a 7:1 contrast ratio. Improves readability for users with low vision or color blindness. Automatically adjusts all page elements for optimal visibility.
Highlight Links
Make all links stand out with a bright yellow background and increased padding. Helps users quickly identify clickable elements and navigate your site with confidence.
Readable Font
Switch to Arial/Helvetica sans-serif fonts optimized for screen reading. Clean, simple letterforms reduce eye strain and improve comprehension for extended reading sessions.
Text Spacing
Increase line height, letter spacing, and word spacing for improved readability. Based on WCAG 2.1 Level AAA spacing requirements to reduce cognitive load.
Animation Control
Pause all animations and auto-playing videos with one click. Critical for users with vestibular disorders, ADHD, or photosensitive epilepsy. Meets WCAG 2.1 Level AAA requirements.
Enhanced Contrast (7:1)
Ultra-high contrast mode exceeding WCAG AAA standards with a 7:1 ratio. Provides maximum visibility for users with severe visual impairments or color blindness.
Enhanced Spacing Control
Advanced line height controls allowing users to customize spacing beyond standard presets. Meets WCAG 2.1 Level AAA text spacing requirements.
Dyslexia-Friendly Font
Switch to OpenDyslexic or similar fonts specifically designed for users with dyslexia. Weighted bottoms and unique character shapes reduce letter confusion.
Navigation & Reading
Large Cursor
Enlarge the mouse cursor for better visibility and easier tracking. Essential for users with motor control difficulties or visual impairments who struggle to locate the standard cursor.
Reading Guide
Display a horizontal line that follows the mouse to help users maintain their reading position. Particularly helpful for users with dyslexia or attention disorders.
Keyboard Navigation
Enhanced focus indicators and skip links for keyboard-only navigation. Ensures your site is fully accessible without a mouse, meeting WCAG 2.1 requirements.
Enhanced Focus
High-visibility focus indicators with animated rings for keyboard navigation. Ensures users always know which element has focus.
Page Structure Navigator
View the page's heading structure and jump to any section instantly. Helps screen reader users and keyboard navigators understand page organization.
Content Accessibility
Text to Speech
Click any text element to have it read aloud using the Web Speech API. Supports multiple languages and adjustable speech rates. Perfect for users with reading difficulties or those who prefer auditory learning.
Image Descriptions
Click any image to view its alt text description in an accessible overlay. Ensures visually impaired users never miss important image content.
Content Hints
Contextual tooltips providing additional information about page elements and functionality. Reduces cognitive load and improves user confidence.
Try It Yourself
Accessibility Controls
Sample Heading - Experience Accessibility
This is sample text to demonstrate how accessibility features transform user experience. Try adjusting the font size, enabling high contrast mode, or activating the reading guide to see the immediate impact.
Each feature is designed to help specific user groups while maintaining a beautiful, professional appearance that enhances your brand rather than detracting from it.
Installation & Setup
Step 1: Upload the Plugin
Step 2: Activate the Plugin
Step 3: Configure Basic Settings
Step 4: Select Features
Step 5: Activate Your License (Pro/Agency)
License Key Format: XXXX-XXXX-XXXX-XXXX
Step 6: Test the Widget
Step 7: Optional - Add Custom Features
Developer Documentation
WordPress Hooks
Example 1: Add Custom Feature Button (Pro Only)
Add a custom button to the accessibility widget for client-specific features
add_action('atk_widget_features', function() {
?>
<div class="atk-feature-group">
<button class="atk-feature-btn" data-feature="custom-feature">
<span class="atk-feature-icon">β</span>
<span class="atk-feature-label">Custom Feature</span>
</button>
</div>
<?php
});
A new button appears in the accessibility widget panel
Example 2: Hook Before Widget Renders
Execute code before the widget is displayed on the frontend
add_action('atk_before_widget', function() {
// Add custom HTML or tracking code
echo '<div class="custom-wrapper">';
});
Example 3: Hook After Widget Renders
Execute code after the widget is displayed
add_action('atk_after_widget', function() {
echo '</div>'; // Close custom wrapper
});
WordPress Filters
Example 1: Modify Enabled Features List
Enable or disable features programmatically based on user role, post type, or custom logic
add_filter('atk_enabled_features', function($features) {
// Disable text-to-speech on mobile devices
if (wp_is_mobile()) {
unset($features['textToSpeech']);
}
// Enable extra features for logged-in users
if (is_user_logged_in()) {
$features['advancedMode'] = true;
}
return $features;
});
Example 2: Change Widget Position Dynamically
Set different widget positions for different pages or post types
add_filter('atk_widget_position', function($position) {
// Move to top-left on blog pages
if (is_home() || is_archive()) {
return 'top-left';
}
return $position;
});
Example 3: Customize Primary Color
Override the primary color based on page context or user preferences
add_filter('atk_primary_color', function($color) {
// Use red for important pages
if (is_page('emergency-information')) {
return '#cc0000';
}
return $color;
});
JavaScript API
Example 1: Listen for Feature Events
Trigger custom code when users enable or disable features
jQuery(document).on('atk_feature_enabled', function(e, feature) {
console.log('Feature enabled:', feature);
// Track in Google Analytics
if (typeof gtag !== 'undefined') {
gtag('event', 'accessibility_feature_enabled', {
'feature_name': feature
});
}
});
jQuery(document).on('atk_feature_disabled', function(e, feature) {
console.log('Feature disabled:', feature);
});
Example 2: Enable Feature Programmatically
Activate features via JavaScript for automated workflows or custom triggers
// Enable high contrast after page load
jQuery(document).ready(function() {
if (window.AccessibilityToolkit) {
// Check if user prefers dark mode
if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
window.AccessibilityToolkit.enableFeature('contrast');
}
}
});
Example 3: Check Current State
Read the current state of accessibility features
// Get all active features
const activeFeatures = window.AccessibilityToolkit.state;
// Check if specific feature is enabled
if (activeFeatures.contrast) {
console.log('High contrast mode is active');
}
Custom Feature Implementation
Example 1: Dark Mode Toggle
Add a custom dark mode feature with full integration
// Add button to widget (requires Pro license)
add_action('atk_widget_features', function() {
?>
<div class="atk-feature-group">
<button class="atk-feature-btn" data-feature="dark-mode">
<span class="atk-feature-icon">π</span>
<span class="atk-feature-label">Dark Mode</span>
</button>
</div>
<?php
});
// Add JavaScript handler
add_action('wp_footer', function() {
?>
<script>
jQuery(document).ready(function($) {
$(document).on('click', '[data-feature="dark-mode"]', function() {
$(this).toggleClass('active');
$('body').toggleClass('dark-mode');
// Trigger event for tracking
$(document).trigger('atk_feature_enabled', ['dark-mode']);
});
});
</script>
<?php
});
// Add CSS
add_action('wp_head', function() {
?>
<style>
body.dark-mode {
background: #1a1a1a;
color: #f0f0f0;
}
body.dark-mode a {
color: #66b3ff;
}
</style>
<?php
});
Example 2: Role-Based Feature Access
Show different features to different user roles
add_filter('atk_enabled_features', function($features) {
$user = wp_get_current_user();
// Admins get all features
if (in_array('administrator', $user->roles)) {
return $features;
}
// Subscribers get basic features only
if (in_array('subscriber', $user->roles)) {
return [
'fontSizeAdjust' => $features['fontSizeAdjust'],
'contrast' => $features['contrast'],
];
}
return $features;
});
Styling Customization
Example 1: Custom Widget Colors
Override default colors with your brand palette
/* Primary widget button */
.atk-toggle-btn {
background: #6366f1 !important;
color: white !important;
}
.atk-toggle-btn:hover {
background: #4f46e5 !important;
}
/* Feature buttons */
.atk-feature-btn.active {
background: #10b981 !important;
border-color: #10b981 !important;
}
/* Panel background */
.atk-panel {
background: #ffffff !important;
box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important;
}
Example 2: Custom Widget Position
Fine-tune widget positioning and sizing
/* Make widget larger */
.atk-toggle-btn {
width: 70px !important;
height: 70px !important;
font-size: 28px !important;
}
/* Adjust panel width */
.atk-panel {
width: 400px !important;
}
/* Custom position offset */
.atk-widget.atk-position-bottom-right {
right: 30px !important;
bottom: 30px !important;
}
Choose Your Plan
Select the perfect tier for your needs. All plans include free updates and priority support.
Free
Perfect for small projects and testing
- Font Size Control
- High Contrast Mode
- Highlight Links
- Readable Font
- Text Spacing
- Large Cursor
- Reading Guide
- Text to Speech
- Image Descriptions
- Keyboard Navigation
- Enhanced Focus
- Page Structure
- Content Hints
- Community Support
Pro
Professional accessibility for growing businesses
- All Free Features
- Animation Control (AAA)
- Enhanced Contrast 7:1 (AAA)
- Enhanced Spacing Control (AAA)
- Dyslexia-Friendly Font (AAA)
- White-Label Option
- Custom Feature Hooks
- Priority Email Support
- License for 1 Site
- Free Updates for 1 Year
- Commercial Use License
Agency
Complete solution for agencies and enterprises
- All Pro Features
- Usage Analytics Dashboard
- Feature Tracking & Insights
- Client Usage Reports
- Custom Branding Options
- Advanced Hook System
- Priority Phone Support
- License for Unlimited Sites
- Client Management Tools
- Developer Documentation
- Training & Onboarding
- Free Updates for 1 Year
Frequently Asked Questions
Have questions? We've got answers. If you don't find what you're looking for here, contact our support team.
Activation: Accessibility > License > Enter Key > Activate
Deactivation: Accessibility > License > Deactivate License
Status Check: License validates daily automatically