Readout Warning Widget
Component Detail
User Interface
medium complexity
mobile
3
Dependencies
2
Dependents
0
Entities
0
Integrations
Description
Accessible modal overlay that intercepts screen reader focus on annotated sensitive fields and presents a configurable warning before allowing the value to be spoken aloud. The overlay is itself fully accessible - announced by the screen reader first - and must not trap keyboard, switch-access, or VoiceOver focus.
readout-warning-widget
Responsibilities
- Display a contextual warning overlay when screen reader focus reaches a sensitive field
- Provide accessible confirm/cancel controls that allow the user to proceed or skip the readout
- Ensure the warning announcement precedes the sensitive value node in the accessibility tree
- Respect focus order so keyboard and switch-access users are never trapped
Interfaces
show(fieldLabel: String, onProceed: VoidCallback, onCancel: VoidCallback)
dismiss()
setWarningMessage(message: String)
Relationships
Dependencies (3)
Components this component depends on
Dependents (2)
Components that depend on this component