Index: Source/core/accessibility/AXNodeObject.cpp |
diff --git a/Source/core/accessibility/AXNodeObject.cpp b/Source/core/accessibility/AXNodeObject.cpp |
index a61cc2c436a3d6a0ac630045268493fa58a1ce91..5bf3d8cec5c2eeaa57fd0ba268828c23a8ae526b 100644 |
--- a/Source/core/accessibility/AXNodeObject.cpp |
+++ b/Source/core/accessibility/AXNodeObject.cpp |
@@ -213,6 +213,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()) |
@@ -221,6 +228,8 @@ AccessibilityRole AXNodeObject::determineAccessibilityRole() |
return SliderRole; |
if (type == InputTypeNames::color) |
return ColorWellRole; |
+ if (type == InputTypeNames::time) |
+ return TimeRole; |
return TextFieldRole; |
} |
if (isHTMLSelectElement(*node())) { |