Screen Reader Support Service
Component Detail
Service Layer
high complexity
Shared Component
mobile
1
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
Centralizes semantic labelling logic for all interactive widgets to ensure VoiceOver (iOS) and TalkBack (Android) compatibility. Provides utilities for generating meaningful semantic labels, hints, and traits, and manages ExcludeSemantics for decorative elements and MergeSemantics for grouped controls.
screen-reader-support-service
Responsibilities
- Generate and manage semantic labels and hints for all interactive widgets
- Apply ExcludeSemantics to decorative-only elements
- Apply MergeSemantics for logically grouped controls
- Provide non-drag alternatives metadata for drag-based interactions
- Validate semantic tree completeness for a given widget subtree
Interfaces
getSemanticLabel(widgetType, context)
getSemanticHint(action)
excludeDecorative(widget)
mergeGroup(widgets)
setCustomAction(label, callback)
announceLiveRegion(message)
validateSemanticsTree(root)
getDragAlternativeAction(dragType)
setTraversalOrder(widgets, order)