-
Notifications
You must be signed in to change notification settings - Fork 29.2k
Closed
Labels
P0Critical issues such as a build break or regressionCritical issues such as a build break or regressiona: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemscustomer: googleVarious Google teamsVarious Google teamscustomer: money (g3)f: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Description
Internal: b/258261921
Currently, hint text can either be used to (1) provide hint text for users, or (2) as a label for the text field.
E.g. to enter phone number, hint text can be either (1) 0000 - 0000 or (2) Phone number.
For a11y users, the hint text is always read regardless of use case (1) or (2) and this is problematic for use case (1).
E.g. when the text field is filled with 1234 - 5678, it reads both the text and hint text "1234 - 5678, 0000 - 0000"
Can we tweak the current feature to exclude the hint from a11y if the textfield is not empty AND a dedicated label text is given?
Metadata
Metadata
Assignees
Labels
P0Critical issues such as a build break or regressionCritical issues such as a build break or regressiona: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemscustomer: googleVarious Google teamsVarious Google teamscustomer: money (g3)f: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.