DescriptionIntroduce new API ariaAutoComplete() to expose correct state and object attribute.
According to specs http://rawgit.com/w3c/aria/master/core-aam/core-aam.html
aria-autocomplete {"inline", "list","both"} set IA2_STATE_SUPPORTS_AUTOCOMPLETION.
aria-autocomplete {"none"} Not Mapped
Also expose object attribute autocomplete: <value>.
<div role="combobox" aria-autocomplete="inline"></div>
<div role="combobox" aria-autocomplete="list"></div>
<div role="combobox"aria-autocomplete="both"></div>
<div role="combobox" aria-autocomplete="none"></div>
AX Tree:
ROLE_SYSTEM_COMBOBOX IA2_STATE_SUPPORTS_AUTOCOMPLETION autocomplete:inline
ROLE_SYSTEM_COMBOBOX IA2_STATE_SUPPORTS_AUTOCOMPLETION autocomplete:list
ROLE_SYSTEM_COMBOBOX IA2_STATE_SUPPORTS_AUTOCOMPLETION autocomplete:both
ROLE_SYSTEM_COMBOBOX
BUG=169559, 169563
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186919
Patch Set 1 #
Total comments: 2
Patch Set 2 : incoporating comments #
Total comments: 1
Patch Set 3 : fixing nit #
Messages
Total messages: 13 (5 generated)
|