User Interface medium complexity mobile
2
Dependencies
0
Dependents
1
Entities
0
Integrations

Description

Composable Flutter widget that wraps any field or text node marked as containing sensitive personal information. It detects screen reader activation via MediaQuery.of(context).accessibleNavigation, intercepts Semantics focus events, and delegates warning presentation to the Readout Warning Widget before the underlying content is announced.

Feature: Sensitive Field Readout Warning

sensitive-field-wrapper-widget

Responsibilities

  • Detect whether a screen reader is currently active using Flutter MediaQuery.accessibleNavigation
  • Wrap child widget in a Semantics node configured to trigger the warning on focus
  • Coordinate with Screen Reader Annotation Service to reorder semantic node traversal
  • Apply canonical sensitive field type metadata so downstream logic can categorize fields

Interfaces

SensitiveFieldWrapper({required Widget child, required SensitiveFieldType type, String? customLabel})
isScreenReaderActive(BuildContext context) → bool

Relationships

Dependencies (2)

Components this component depends on

Related Data Entities (1)

Data entities managed by this component