voice_navigation_assistant
Voice Navigation Assistant provides accessibility-focused voice navigation for Drupal websites. It helps people with physical disabilities, limited mobility, motor impairments, temporary injuries, and users who prefer hands-free browsing navigate a site using configurable voice commands.
Features
- Voice-based website navigation.
- Accessibility-focused hands-free interaction.
- Configurable voice commands for different user roles.
- Separate commands for anonymous users.
- Separate commands for authenticated users.
- Separate commands for administrators.
- Initial audio instruction message for visitors.
- Double-tap/click activation support.
- Keyboard shortcut support.
- Browser voice preference selection.
- Import and export command configuration.
- Admin command preview table.
- Drupal 10 and Drupal 11 compatibility.
Post-Installation
After installing and enabling the module, go to the configuration page:
/admin/config/user-interface/voice-navigation-assistant
Navigation path: Administration → Configuration → User interface → Voice Navigation Assistant
On this page, administrators can configure:
- Commands for anonymous users.
- Commands for authenticated users.
- Commands for administrators.
- Initial audio instruction message.
- Double-tap/click activation.
- Preferred browser voice type.
- Preferred browser voice name.
- Import and export command settings.
Placing the Voice Navigation Block
After enabling the module, place the voice navigation block on the site.
Go to /admin/structure/block
Navigation path: Administration → Structure → Block layout
Then:
- Select the theme where the voice assistant should appear.
- Choose a region such as Header, Footer, or another visible region.
- Click Place block.
- Search for Voice Navigation Assistant.
- Select the block and click Place block.
- Configure visibility if needed.
- Save the block layout.
The voice control will then appear on the front end of the site.
Command Configuration
Voice commands are configured using this format: command|path|description
Examples:
home|/|Navigate to the home page contact us|/contact|Navigate to the contact page about|/about-us|Navigate to the about page dashboard|/admin|Navigate to the administration dashboard
The first value is the phrase spoken by the user.
The second value is the Drupal path where the user should be redirected.
The third value is the spoken description after navigation.
Using Voice Navigation
Visitors can start voice recognition using:
- The voice navigation floating control.
- Double-tap/click, if enabled.
- Alt + S to start voice recognition.
- Alt + X to stop voice recognition.
Visitors can say "list" to hear the available voice commands.
Additional Requirements
This module does not require any additional Drupal contributed modules.
The visitor's browser must support the Web Speech API for speech recognition and speech synthesis features to work.
It usually works on localhost for development, but HTTPS is recommended for production sites because some browsers may restrict speech recognition on insecure origins.
Voice availability depends on the visitor's browser and operating system.
Similar projects
This module focuses specifically on configurable voice-based navigation for accessibility and hands-free website interaction.
It is intended to support users who may have difficulty using a mouse, keyboard, or touch interface, while also providing a convenient alternative navigation method for all users.