Changeset 181078 in webkit


Ignore:
Timestamp:
Mar 5, 2015 8:51:26 AM (9 years ago)
Author:
Brent Fulgham
Message:

[Win] AX: Implement support for ARIA 1.1 'switch' role
https://bugs.webkit.org/show_bug.cgi?id=142016
<rdar://problem/19953264>

Reviewed by Chris Fleizach.

The changes in Bug 141986 did not update the proper Windows routines to
support the new ARIA 1.1 role. This turned out to be trivial.

  • AccessibleBase.cpp:

(MSAARole): Provide MSAA role for 'switch'. Also correct 'ToggleButtonRole',
which was improperly reporting as 'push button'.

Location:
trunk/Source/WebKit/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/win/AccessibleBase.cpp

    r179033 r181078  
    849849            return ROLE_SYSTEM_RADIOBUTTON;
    850850        case WebCore::CheckBoxRole:
     851        case WebCore::ToggleButtonRole:
     852        case WebCore::SwitchRole:
    851853            return ROLE_SYSTEM_CHECKBUTTON;
    852854        case WebCore::SliderRole:
     
    915917            return ROLE_SYSTEM_SPINBUTTON;
    916918        case WebCore::SpinButtonPartRole:
    917             return ROLE_SYSTEM_PUSHBUTTON;
    918         case WebCore::ToggleButtonRole:
    919919            return ROLE_SYSTEM_PUSHBUTTON;
    920920        case WebCore::ToolbarRole:
  • trunk/Source/WebKit/win/ChangeLog

    r181064 r181078  
     12015-03-04  Brent Fulgham  <bfulgham@apple.com>
     2
     3        [Win] AX: Implement support for ARIA 1.1 'switch' role
     4        https://bugs.webkit.org/show_bug.cgi?id=142016
     5        <rdar://problem/19953264>
     6
     7        Reviewed by Chris Fleizach.
     8
     9        The changes in Bug 141986 did not update the proper Windows routines to
     10        support the new ARIA 1.1 role. This turned out to be trivial.
     11
     12        * AccessibleBase.cpp:
     13        (MSAARole): Provide MSAA role for 'switch'. Also correct 'ToggleButtonRole',
     14        which was improperly reporting as 'push button'.
     15
    1162015-03-04  Yusuke Suzuki  <utatane.tea@gmail.com>
    217
Note: See TracChangeset for help on using the changeset viewer.