diff options
Diffstat (limited to 'content/browser/accessibility/browser_accessibility_win.cc')
-rw-r--r-- | content/browser/accessibility/browser_accessibility_win.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/content/browser/accessibility/browser_accessibility_win.cc b/content/browser/accessibility/browser_accessibility_win.cc index 3d5907b..6866ca9 100644 --- a/content/browser/accessibility/browser_accessibility_win.cc +++ b/content/browser/accessibility/browser_accessibility_win.cc @@ -4068,6 +4068,9 @@ void BrowserAccessibilityWin::InitRoleAndState() { ia_state |= STATE_SYSTEM_LINKED; ia_state |= STATE_SYSTEM_READONLY; break; + case ui::AX_ROLE_INPUT_TIME: + ia_role = ROLE_SYSTEM_GROUPING; + break; case ui::AX_ROLE_LABEL_TEXT: case ui::AX_ROLE_LEGEND: ia_role = ROLE_SYSTEM_TEXT; @@ -4282,7 +4285,8 @@ void BrowserAccessibilityWin::InitRoleAndState() { ia2_state |= IA2_STATE_SELECTABLE_TEXT; break; case ui::AX_ROLE_TIME: - ia_role = ROLE_SYSTEM_SPINBUTTON; + ia_role = ROLE_SYSTEM_TEXT; + ia2_role = IA2_ROLE_TEXT_FRAME; break; case ui::AX_ROLE_TIMER: ia_role = ROLE_SYSTEM_CLOCK; |