Index: Source/modules/accessibility/AXRenderObject.cpp |
diff --git a/Source/modules/accessibility/AXRenderObject.cpp b/Source/modules/accessibility/AXRenderObject.cpp |
index 628f4e693cb32ce0dbdd97fc14ca003658fba5d2..090ad773ea505db99114faa49e8ddea53e99da80 100644 |
--- a/Source/modules/accessibility/AXRenderObject.cpp |
+++ b/Source/modules/accessibility/AXRenderObject.cpp |
@@ -304,9 +304,6 @@ AccessibilityRole AXRenderObject::determineAccessibilityRole() |
if (cssBox && cssBox->isRenderView()) |
return WebAreaRole; |
- if (cssBox && cssBox->isTextField()) |
- return TextFieldRole; |
- |
if (cssBox && cssBox->isTextArea()) |
return TextAreaRole; |
@@ -343,6 +340,7 @@ AccessibilityRole AXRenderObject::determineAccessibilityRole() |
return ColorWellRole; |
if (type == InputTypeNames::time) |
return TimeRole; |
+ return TextFieldRole; |
} |
if (isFileUploadButton()) |