Platform Accessibility Bridge
Component Detail
Infrastructure
medium complexity
Shared Component
mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Thin platform-channel wrapper that queries the host OS for active assistive technology state (VoiceOver on iOS, TalkBack on Android, Switch Access) and exposes a unified Dart API. Used by the Screen Reader Support Service and preferences store to adapt behavior without duplicating platform detection logic.
platform-accessibility-bridge
Responsibilities
- Detect whether VoiceOver or TalkBack is currently active
- Query platform bold-text and reduce-motion accessibility flags
- Provide an observable stream of assistive technology state changes
- Abstract iOS and Android differences behind a single interface
Interfaces
isScreenReaderActive(): Future<bool>
isBoldTextEnabled(): Future<bool>
isReduceMotionEnabled(): Future<bool>
watchAccessibilityState(): Stream<PlatformAccessibilityState>
getActiveAssistiveTechnologies(): Future<List<AssistiveTechnology>>