Readout Warning Widget
Component Detail
User Interface
medium complexity
mobile
2
Dependencies
3
Dependents
1
Entities
0
Integrations
Description
Flutter widget that renders a dismissible warning banner or dialog when a screen reader is active and focus moves to a sensitive field. The warning is rendered before the sensitive content in the semantics tree so it is announced first, giving the user a chance to mute or pause the screen reader before private information is spoken aloud.
readout-warning-widget
Responsibilities
- Display an accessible warning overlay when screen reader focus approaches a sensitive field
- Provide dismiss and mute-reader action buttons navigable via screen reader gestures
- Ensure the warning node precedes the sensitive content node in the Flutter Semantics tree
- Support both banner (non-blocking) and modal-dialog (blocking) presentation modes
Interfaces
SensitiveReadoutWarning({required Widget child, required SensitiveFieldType fieldType, WarningMode mode})
onDismissed(VoidCallback callback)
onMuteRequested(VoidCallback callback)
Relationships
Dependencies (2)
Components this component depends on
Dependents (3)
Components that depend on this component