Axon 911 Frontend DocsAxon 911 Frontend Docs
Axon 911 Frontend Docs
    Loading navigation…
U
User
Switch to light mode
  1. Blocks
  2. Call Transcript
  3. Accessibility

Call Transcript

Accessibility

Import CallTranscript from @prepared911/ui/blocks/call-transcript.
One named region
The transcript is one region named by copy.label. Each row is a Message with its speaker named and given a role; the row being played is exposed as selected. Row actions sit in that region, so the scrollport is not a second name.
Translations
A translated row announces copy.row.translationLabel before the translation, and marks the language of each text with its tag so a screen reader pronounces it.
Row actions
The row toolbar is named by copy.row.toolbarLabel, and every action has a name. Copy actions announce copied and copyFailed.
Following the playhead
Following the audio never moves focus. Scrolling by wheel or touch stops the follow, and the "Scroll to current" control restores it.
Previous
Call Transcript / API and Development
On this page
One named region
Translations
Row actions
Following the playhead