Commit 25a6f551 authored by Sara Kato's avatar Sara Kato Committed by Commit Bot

Add placeholder text to hint_: method

This CL ensures that placeholder text will be read out
by ChromeVox.

placeholder text.

Test: manual, follow bug repro steps. ChromeVox will read
Test: TODO write tast test
Bug: b/130369098
Change-Id: I491811d9ba6e951ef365eed137768a12a8150222
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1855621Reviewed-by: default avatarSara Kato <sarakato@chromium.org>
Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
Commit-Queue: Sara Kato <sarakato@chromium.org>
Auto-Submit: Sara Kato <sarakato@chromium.org>
Cr-Commit-Position: refs/heads/master@{#705854}
parent a3471c68
......@@ -2153,6 +2153,9 @@ Output.prototype = {
hintProperties);
}
if (node.placeholder)
this.append_(buff, node.placeholder);
if (AutomationPredicate.checkable(node))
this.format_(
node, '@hint_checkable', buff, ruleStr, undefined, hintProperties);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment