DescriptionExposed the children of elements with role textbox in order to make rich text information available to Windows screen readers.
If we have an HTML element with role="textbox" we correctly assign it an IA role of ROLE_SYSTEM_TEXT. This is the same as what FireFox does.
However, contrary to an <input> or <textarea> element, we should expose its children so that any rich text information would be available to Windows screen readers.
Note that we also keep exposing a flatten representation of the children's text in the value attribute because Jaws and older versions of VoiceOver require it.
BUG=542998
TESTED:browser tests, Blink layout tests, manually with Jaws and NVDA with <input>, content editable and content editable with role="textbox"
R=dmazzoni@chromium.org
Committed: https://crrev.com/9a702688af0b856d52e96f1ce9b5346714ce8985
Cr-Commit-Position: refs/heads/master@{#382526}
Committed: https://crrev.com/b891708b42ec5219d0c15f9e93b62b477116be10
Cr-Commit-Position: refs/heads/master@{#383565}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Added browser test. #Patch Set 3 : Fixed test expectations on Windows. #Patch Set 4 : Fixed test expectations. #Patch Set 5 : Updated test expectations for Android. #Patch Set 6 : Disabled Android test. #Messages
Total messages: 32 (14 generated)
|