Title: [202417] trunk/Source/WebKit/win
Revision
202417
Author
[email protected]
Date
2016-06-23 22:20:11 -0700 (Thu, 23 Jun 2016)

Log Message

[Win] The test accessibility/aria-labelledby-overrides-label.html is failing.
https://bugs.webkit.org/show_bug.cgi?id=159057

Reviewed by Brent Fulgham.

The test expects the label to have a static text role, but currently it has a
group role.
 
* AccessibleBase.cpp:
(MSAARole): Change the role of labels to static text.

Modified Paths

Diff

Modified: trunk/Source/WebKit/win/AccessibleBase.cpp (202416 => 202417)


--- trunk/Source/WebKit/win/AccessibleBase.cpp	2016-06-24 04:51:30 UTC (rev 202416)
+++ trunk/Source/WebKit/win/AccessibleBase.cpp	2016-06-24 05:20:11 UTC (rev 202417)
@@ -879,6 +879,7 @@
         case WebCore::HeadingRole:
         case WebCore::ListMarkerRole:
         case WebCore::StaticTextRole:
+        case WebCore::LabelRole:
             return ROLE_SYSTEM_STATICTEXT;
         case WebCore::OutlineRole:
             return ROLE_SYSTEM_OUTLINE;
@@ -917,7 +918,6 @@
         case WebCore::DivRole:
         case WebCore::FooterRole:
         case WebCore::FormRole:
-        case WebCore::LabelRole:
         case WebCore::ParagraphRole:
             return ROLE_SYSTEM_GROUPING;
         case WebCore::HorizontalRuleRole:

Modified: trunk/Source/WebKit/win/ChangeLog (202416 => 202417)


--- trunk/Source/WebKit/win/ChangeLog	2016-06-24 04:51:30 UTC (rev 202416)
+++ trunk/Source/WebKit/win/ChangeLog	2016-06-24 05:20:11 UTC (rev 202417)
@@ -1,3 +1,16 @@
+2016-06-23  Per Arne Vollan  <[email protected]>
+
+        [Win] The test accessibility/aria-labelledby-overrides-label.html is failing.
+        https://bugs.webkit.org/show_bug.cgi?id=159057
+
+        Reviewed by Brent Fulgham.
+
+        The test expects the label to have a static text role, but currently it has a
+        group role.
+ 
+        * AccessibleBase.cpp:
+        (MSAARole): Change the role of labels to static text.
+
 2016-06-23  Alex Christensen  <[email protected]>
 
         Remove unused didCancelAuthenticationChallenge
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to