Index: Source/core/accessibility/AXNodeObject.cpp |
diff --git a/Source/core/accessibility/AXNodeObject.cpp b/Source/core/accessibility/AXNodeObject.cpp |
index d4ca27ffafd40b49fb565e4aff943d8422bf51b8..ce70d6128ac332de4590dd5abf5863f8d81a24e4 100644 |
--- a/Source/core/accessibility/AXNodeObject.cpp |
+++ b/Source/core/accessibility/AXNodeObject.cpp |
@@ -212,6 +212,13 @@ AccessibilityRole AXNodeObject::determineAccessibilityRole() |
return CheckBoxMenuItemRole; |
return CheckBoxRole; |
} |
+ if (type == InputTypeNames::date) |
+ return DateRole; |
+ if (type == InputTypeNames::datetime |
+ || type == InputTypeNames::datetime_local |
+ || type == InputTypeNames::month |
+ || type == InputTypeNames::week) |
+ return DateTimeRole; |
if (type == InputTypeNames::radio) |
return RadioButtonRole; |
if (input.isTextButton()) |
@@ -220,6 +227,8 @@ AccessibilityRole AXNodeObject::determineAccessibilityRole() |
return SliderRole; |
if (type == InputTypeNames::color) |
return ColorWellRole; |
+ if (type == InputTypeNames::time) |
+ return TimeRole; |
return TextFieldRole; |
} |
if (isHTMLSelectElement(*node())) { |