| Index: Source/modules/accessibility/AXNodeObject.cpp
|
| diff --git a/Source/modules/accessibility/AXNodeObject.cpp b/Source/modules/accessibility/AXNodeObject.cpp
|
| index eb02857b3fe1f79559c0f342351ea1475c4c8600..a35efa7a4b37080b738556c4f4299e2b35368044 100644
|
| --- a/Source/modules/accessibility/AXNodeObject.cpp
|
| +++ b/Source/modules/accessibility/AXNodeObject.cpp
|
| @@ -951,6 +951,20 @@ unsigned AXNodeObject::hierarchicalLevel() const
|
| return level;
|
| }
|
|
|
| +String AXNodeObject::ariaAutoComplete() const
|
| +{
|
| + if (roleValue() != ComboBoxRole && roleValue() != TextAreaRole)
|
| + return String();
|
| +
|
| + const AtomicString& ariaAutoComplete = getAttribute(aria_autocompleteAttr).lower();
|
| +
|
| + if (ariaAutoComplete == "inline" || ariaAutoComplete == "list"
|
| + || ariaAutoComplete == "both")
|
| + return ariaAutoComplete;
|
| +
|
| + return String();
|
| +}
|
| +
|
| String AXNodeObject::text() const
|
| {
|
| // If this is a user defined static text, use the accessible name computation.
|
|
|