Dictate report content using speech-to-text after a session
Peer mentors, particularly those supporting people with visual impairments or those who are older and less comfortable with touch keyboards, need the ability to dictate report content rather than type it. The speech-to-text overlay is activated per field and transcribes speech in real time into the report form. Recording only happens in the reporting phase — never during the actual session — to protect the privacy of the contact. Partial transcripts are shown in a preview field so the peer mentor can review and correct before accepting.
User Story
Acceptance Criteria
- Given a peer mentor is on the post-session report screen, when they tap the microphone button next to a text field, then the speech-to-text overlay activates and begins listening
- Given the speech-to-text overlay is active, when the peer mentor speaks, then a partial transcription preview appears in real time
- Given a transcription is complete, when the peer mentor accepts it, then the transcribed text is inserted into the corresponding report field
- Given the peer mentor is still in an active session context, when they attempt to open a report form, then speech-to-text is not offered until the session is explicitly ended
- Given the device microphone is unavailable, when the peer mentor tries to activate speech-to-text, then a clear error message is shown and the text input remains available
- Given dictated content contains errors, when the peer mentor reviews the transcript preview, then they can edit it before accepting
Business Value
Speech-to-text significantly lowers the barrier to completing reports for peer mentors who support users with disabilities — particularly for Blindeforbundet and HLF. It enables faster, more natural reporting and increases the likelihood of detailed, accurate reports being submitted. This directly supports Bufdir reporting quality and reduces the underreporting problem identified as the top pain point across all organisations.
Components
- Speech-to-Text Field Overlay ui
- Speech-to-Text Adapter infrastructure
- Post-Session Report Screen ui
- Dictation Microphone Button ui
- Recording State Indicator ui
- Transcription Preview Field ui
- Speech Recognition Service service
- Transcription State Manager service
- Dictation Scope Guard service
- Partial Transcription Repository data
- Native Speech API Bridge infrastructure
- Accessibility Live Region Announcer infrastructure