Index: ui/accessibility/platform/ax_platform_node_mac.mm |
diff --git a/ui/accessibility/platform/ax_platform_node_mac.mm b/ui/accessibility/platform/ax_platform_node_mac.mm |
index 280f3c49d20ea1091ac9c91f427aa11ce8df5191..a574369e197f190e9ce9ee09e7902d68444d4dc5 100644 |
--- a/ui/accessibility/platform/ax_platform_node_mac.mm |
+++ b/ui/accessibility/platform/ax_platform_node_mac.mm |
@@ -40,6 +40,8 @@ RoleMap BuildRoleMap() { |
{ui::AX_ROLE_COMBO_BOX, NSAccessibilityComboBoxRole}, |
{ui::AX_ROLE_COMPLEMENTARY, NSAccessibilityGroupRole}, |
{ui::AX_ROLE_CONTENT_INFO, NSAccessibilityGroupRole}, |
+ {ui::AX_ROLE_DATE, @"AXDateField"}, |
+ {ui::AX_ROLE_DATE_TIME, NSAccessibilityTextFieldRole}, |
{ui::AX_ROLE_DEFINITION, NSAccessibilityGroupRole}, |
{ui::AX_ROLE_DESCRIPTION_LIST_DETAIL, NSAccessibilityGroupRole}, |
{ui::AX_ROLE_DESCRIPTION_LIST, NSAccessibilityListRole}, |
@@ -123,6 +125,7 @@ RoleMap BuildRoleMap() { |
{ui::AX_ROLE_TAB_PANEL, NSAccessibilityGroupRole}, |
{ui::AX_ROLE_TEXT_AREA, NSAccessibilityTextAreaRole}, |
{ui::AX_ROLE_TEXT_FIELD, NSAccessibilityTextFieldRole}, |
+ {ui::AX_ROLE_TIME, @"AXTimeField"}, |
{ui::AX_ROLE_TIMER, NSAccessibilityGroupRole}, |
{ui::AX_ROLE_TOGGLE_BUTTON, NSAccessibilityCheckBoxRole}, |
{ui::AX_ROLE_TOOLBAR, NSAccessibilityToolbarRole}, |