描述
Accessibility Audio TTS – Text To Speech for Articles is a WordPress plugin that converts article text into high‑quality speech and provides an accessible audio player. It is designed to help meet WCAG 2.2 and improve access for users with visual impairments, reading difficulties, or cognitive disabilities.
Key Features
- Web Content Accessibility Guidelines (WCAG) 2.2 Compliant: Fully compliant with WCAG 2.2 standards
- High-Quality Text-to-Speech: Convert articles to natural-sounding audio
- Accessible Audio Player: Keyboard navigable player with screen reader support
- Offline Caching: Service Worker implementation for offline audio playback
- Multiple Languages: Support for 50+ languages and locales
- Customizable Player: Responsive design that works on all devices
- Performance Optimized: Intelligent caching and loading strategies
- Privacy Focused: GDPR compliant with user privacy protection
Accessibility Features
- Full keyboard navigation support
- Screen reader compatible
- High contrast mode support
- Focus indicators and ARIA labels
- Semantic HTML structure
- Alternative text for all interactive elements
Technical Features
- Service Worker for offline functionality
- Progressive Web App (PWA) ready
- Responsive design for mobile devices
- Optimized loading with lazy loading
- Cache management for better performance
- Error handling and fallback mechanisms
Use Cases
- Educational Websites: Help students with learning disabilities
- News Portals: Make articles accessible to visually impaired readers
- Corporate Websites: Ensure compliance with accessibility standards
- Government Sites: Meet legal accessibility requirements
- Personal Blogs: Reach a wider audience including people with disabilities
External Services
This plugin connects to external third-party services to provide text-to-speech functionality. Below is a list of all external services used:
OpenAI API
Used for text-to-speech audio generation when OpenAI is selected as the TTS provider.
- Data sent: Article text content is sent when the user initiates audio generation
- When: Only when the administrator explicitly configures and uses OpenAI as the TTS provider
- Service provider: OpenAI, L.L.C.
- Terms of Use: https://openai.com/policies/terms-of-use
- Privacy Policy: https://openai.com/policies/privacy-policy
ElevenLabs API
Alternative text-to-speech provider for high-quality voice synthesis.
- Data sent: Article text content is sent when the user initiates audio generation
- When: Only when the administrator explicitly configures and uses ElevenLabs as the TTS provider
- Service provider: ElevenLabs, Inc.
- Terms of Use: https://elevenlabs.io/terms-of-use
- Privacy Policy: https://elevenlabs.io/privacy-policy
OpenAI API
Used in the admin panel to display API usage costs and token consumption when the administrator has configured an OpenAI API key.
- Data sent: API key (Authorization header), query parameters (start_time, bucket_width, limit)
- When: When loading the admin settings page with cost tracking enabled
- Endpoints: https://api.openai.com/v1/organization/usage/completions, https://api.openai.com/v1/organization/costs
- Service provider: OpenAI, L.L.C.
- Terms of Use: https://openai.com/policies/terms-of-use
- Privacy Policy: https://openai.com/policies/privacy-policy
Third-party Libraries
This plugin includes the following third-party JavaScript libraries:
Alpine.js
Lightweight JavaScript framework for UI interactions.
- Source: https://github.com/alpinejs/alpine
- License: MIT
- Version: 3.x
SweetAlert2
Beautiful, responsive popup library.
- Source: https://github.com/sweetalert2/sweetalert2
- License: MIT
Privacy Policy
This plugin respects user privacy and follows WordPress privacy guidelines:
- No personal data is collected without user consent
- Audio files are processed securely
- User preferences are stored locally when possible
- Third-party services are used only when explicitly configured
- All data processing is GDPR compliant
Support
For support, please visit:
* Plugin support forum: https://wordpress.org/support/plugin/accessibility-audio-tts/
* Documentation: https://app4you.dev/wcag-2-2-audio-generator-text-to-speech-accessibility/
* Contact: https://app4you.dev/bezplatna-konsultacja/
Build
All JavaScript and CSS files are included in both uncompressed (readable) and minified forms.
The plugin loads only the .min.js / .min.css versions at runtime; the uncompressed source files
are shipped alongside for review and debugging purposes.
Asset layout:
assets/admin/– admin-panel scripts and stylesheetsassets/public/– front-end player scripts and stylesheetsassets/vendor/– third-party libraries (Alpine.js, SweetAlert2) with both.jsand.min.js
To build from source:
- Install dependencies:
pnpm install - Build minified assets:
pnpm build
Build tools: Grunt (see gruntfile.js and package.json for configuration).
Contributing
We welcome contributions! Please visit our GitHub repository for development guidelines and to report issue, contact with us: [email protected]
Credits
- Developed by App4You.dev
- Icons by WordPress Dashicons
- Audio processing powered by modern web APIs
安装
Automatic installation
- Log in to your WordPress admin panel
- Navigate to Plugins > Add New
- Search for “Accessibility Audio TTS”
- Click “Install Now” and then “Activate”
Manual Installation
- Download the plugin zip file
- Log in to your WordPress admin panel
- Navigate to Plugins > Add New > Upload Plugin
- Choose the downloaded zip file and click “Install Now”
- Activate the plugin
After Installation
- Go to Settings > Accessibility Audio TTS
- Configure your text-to-speech settings
- Choose which post types should have audio players
- Save your settings
- Visit any post/page to see the audio player in action
常见问题
-
Is this plugin free?
-
Yes, the plugin is completely free and open source (GPLv2). All features are included.
-
Does it work with all themes?
-
Yes, the plugin is designed to work with any properly coded WordPress theme.
-
What languages are supported?
-
The plugin supports 50+ languages including English, Spanish, French, German, Italian, Portuguese, Polish, and many more.
-
Does it work offline?
-
Yes, the plugin includes Service Worker technology for offline audio playback of cached content.
-
Is it GDPR compliant?
-
Yes, the plugin is designed with privacy in mind and includes GDPR compliance features.
-
Can I customize the player appearance?
-
Yes, the player includes CSS customization options and responsive design.
-
Does it work on mobile devices?
-
Yes, the player is fully responsive and works on all mobile devices and tablets.
-
What happens if JavaScript is disabled?
-
The plugin gracefully degrades and provides alternative access methods when JavaScript is unavailable.
更新日志
1.0.0
- Initial public release
- WCAG 2.2 compliant text-to-speech audio player
- ElevenLabs and OpenAI TTS provider support
- Accessible audio player with keyboard navigation and screen reader support
- Service Worker for offline audio caching
- Batch and CRON-based audio generation
- Multi-language support (50+ languages)
- Admin meta box for per-post audio management
- Responsive design for all devices
- Full internationalization (English, Polish, German, Spanish)
