Commit b9ac269f authored by Gavin Williams's avatar Gavin Williams Committed by Commit Bot

ChromeVox: For popUpButton switch value/name spoken order

-Read the name of the popUpButton before the value to give the user
 better context.

Change-Id: I824f3382df5164cf03e24941d678d575b9baaf5e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1919525Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
Commit-Queue: Gavin Williams <gavinwill@chromium.org>
Cr-Commit-Position: refs/heads/master@{#716436}
parent fb1c61b7
...@@ -525,7 +525,7 @@ Output.RULES = { ...@@ -525,7 +525,7 @@ Output.RULES = {
}, },
paragraph: {speak: `$nameOrDescendants`}, paragraph: {speak: `$nameOrDescendants`},
popUpButton: { popUpButton: {
speak: `$if($value, $value, $descendants) $name $role @aria_has_popup speak: `$name $if($value, $value, $descendants) $role @aria_has_popup
$if($expanded, @@list_with_items($setSize)) $state $restriction $if($expanded, @@list_with_items($setSize)) $state $restriction
$description` $description`
}, },
......
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