Index: Source/modules/accessibility/AXNodeObject.cpp |
diff --git a/Source/modules/accessibility/AXNodeObject.cpp b/Source/modules/accessibility/AXNodeObject.cpp |
index dff0a287da8665014d4b6b68f8ad4dfe0680a80f..f2e54b97a16bf65268ea471f7ae0dafb6c99a59e 100644 |
--- a/Source/modules/accessibility/AXNodeObject.cpp |
+++ b/Source/modules/accessibility/AXNodeObject.cpp |
@@ -377,7 +377,7 @@ AccessibilityRole AXNodeObject::determineAccessibilityRoleUtil() |
if (type == InputTypeNames::color) |
return ColorWellRole; |
if (type == InputTypeNames::time) |
- return TimeRole; |
+ return InputTimeRole; |
return TextFieldRole; |
} |
@@ -486,6 +486,9 @@ AccessibilityRole AXNodeObject::determineAccessibilityRoleUtil() |
if (node()->hasTagName(figureTag)) |
return FigureRole; |
+ if (node()->nodeName() == "TIME") |
+ return TimeRole; |
+ |
if (isEmbeddedObject()) |
return EmbeddedObjectRole; |