| Index: Source/modules/accessibility/AXNodeObject.cpp
|
| diff --git a/Source/modules/accessibility/AXNodeObject.cpp b/Source/modules/accessibility/AXNodeObject.cpp
|
| index 269e81a68ac453d64ecf20362e459ff6bc229a88..77c965ed5879791b6080e813f1f741ef9c7d699a 100644
|
| --- a/Source/modules/accessibility/AXNodeObject.cpp
|
| +++ b/Source/modules/accessibility/AXNodeObject.cpp
|
| @@ -1534,15 +1534,13 @@ Element* AXNodeObject::actionElement() const
|
|
|
| if (isHTMLInputElement(*node)) {
|
| HTMLInputElement& input = toHTMLInputElement(*node);
|
| - if (!input.isDisabledFormControl() && (isCheckboxOrRadio() || input.isTextButton()))
|
| + if (!input.isDisabledFormControl() && (isCheckboxOrRadio() || input.isTextButton()
|
| + || input.type() == InputTypeNames::file))
|
| return &input;
|
| } else if (isHTMLButtonElement(*node)) {
|
| return toElement(node);
|
| }
|
|
|
| - if (isFileUploadButton())
|
| - return toElement(node);
|
| -
|
| if (AXObject::isARIAInput(ariaRoleAttribute()))
|
| return toElement(node);
|
|
|
|
|