Fix talkback read out for RadioButtonWithEditText
In the original implementation, screen reader cannot read out the content for RadioButtonWithEditText. This change makes the EditText as the label of the widget, so that the content description for EditText can be read out as part of the RadioButtonWithEditText. Before the change, RadioButtonWithEditText read out as "Checked/Unchecked radio button"; after the change, the widget read out as "Checked/Unchecked radio button for <read out for EditText>", which will contains: 1. The Radio button is for a EditText 2. The text & hint for EditText Bug: 1057269 Change-Id: I23cabe4b7bc8313bbc8c055a95f5a9e26e876b7f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2090620 Commit-Queue: Theresa <twellington@chromium.org> Reviewed-by:Theresa <twellington@chromium.org> Cr-Commit-Position: refs/heads/master@{#748471}
Showing
Please register or sign in to comment