Infrastructure high complexity Shared Component mobile
0
Dependencies
1
Dependents
0
Entities
0
Integrations

Description

Low-level Flutter accessibility adapter that provides an abstraction over the Flutter Semantics framework, enabling custom SemanticsAction overrides and event interception without coupling the widget layer directly to platform-specific accessibility APIs. It normalises differences between Android TalkBack and iOS VoiceOver event models so the Sensitive Field Widget can handle both platforms uniformly.

Feature: Sensitive Field Readout Warning

semantics-override-adapter

Responsibilities

  • Register custom SemanticsAction handlers for sensitive fields
  • Intercept and suppress default screen reader speak events
  • Abstract differences between TalkBack and VoiceOver event models
  • Restore default semantics behaviour on demand
  • Provide accessibility event hooks for testing and monitoring

Interfaces

registerSensitiveNode(Key nodeKey, SemanticsOverrideConfig config)
unregisterSensitiveNode(Key nodeKey)
suppressSpeak(Key nodeKey)
restoreSpeak(Key nodeKey)
announceText(String text)
isScreenReaderActive() → bool
onAccessibilityEvent(AccessibilityEvent event)

Relationships

Dependents (1)

Components that depend on this component