Skip to main content

SpeechToTextButton

The SpeechToTextButton is a UI element that converts spoken language into text in real time.

Accessibility Support

Out of the box, the Telerik and Kendo UI SpeechToTextButton provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.

The SpeechToTextButton is compliant with the Web Content Accessibility Guidelines (WCAG) 2.2 standards and Section 508 requirements, follows the Web Accessibility Initiative - Accessible Rich Internet Applications (WAI-ARIA) best practices for implementing the keyboard navigation and provides options for managing its focus and is tested against the most popular screen readers.

SpeechToTextButton

ARIA Attributes

AttributeDescription
role="button"If the used element is not <button>, explicitly set its role to button.
aria-pressedAnnounces the toggle behaviour of the button.
aria-labelAccessible name for the speech-to-text button.

Keyboard Navigation

TriggerBehavior
Enter or SpaceTriggers a click action on the Button. Toggles the active listening state of the Button.

UX Behavior

FeatureDescription
RecordingPressing the button starts audio recording.
StopPressing the button again or after a silence timeout stops recording.
TranscriptionConverts the recorded audio into text.
StatusVisual feedback indicates whether the button is idle, recording, or processing.

Testing

The SpeechToTextButton has been extensively tested automatically with axe-core and manually with the most popular screen readers.

Screen Readers

The SpeechToTextButton has been tested with the following screen readers and browsers combinations:

EnvironmentTool
FirefoxNVDA
ChromeJAWS
Microsoft EdgeJAWS

Resources

Feedback