Hover Speech
This module adds a "hover speech" button to your website, allowing users to easily toggle text-to-speech functionality for content. Users can customize the button's appearance and behavior, including text, available languages, font size controls, colors, and position.
Setup & Installation
Download the module
From your Drupal project root, run:
composer require drupal/hover_speech:1.0.x-dev
Enable the module
drush en hover_speech -y
or via Drupal Admin UI:
Go to Extend → search for Hover Speech → enable.
Configuration
Once enabled, your module should provide an admin settings form (example path):
/admin/config/user-interface/hover-speech
Here you can configure:
- Button text (Speech ON / OFF).
- Languages (dynamic, e.g., en, hi, mr, etc.).
- Font size controls (+ / – buttons).
- Colors (background, border, text).
- Position (top-left, top-right, bottom-left, bottom-right).
Placing the Block
The module provides a Hover Speech block.
- Go to Structure → Block layout (/admin/structure/block).
- Find the region where you want the speech button (e.g., Sidebar first, Header, or Content top).
- Click Place block.
- Search for Hover Speech.
- Click Place block → configure visibility if needed (for specific pages/roles).
- Save the layout. ✅
drush cr
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.x-dev | Dev | 9–11 | Sep 14, 2025 |