Diff
Modified: trunk/LayoutTests/ChangeLog (140973 => 140974)
--- trunk/LayoutTests/ChangeLog 2013-01-28 16:59:07 UTC (rev 140973)
+++ trunk/LayoutTests/ChangeLog 2013-01-28 17:05:59 UTC (rev 140974)
@@ -1,3 +1,19 @@
+2013-01-28 James Craig <[email protected]>
+
+ HTML5 promotes DL from specific 'definition list' to superset 'description list'; accessibility strings and accessors should be updated to match.
+ https://bugs.webkit.org/show_bug.cgi?id=107650
+
+ Reviewed by Chris Fleizach.
+
+ Updating accessibility strings and accessors for DL/DT/DD; new one for [role="definition"] (previously it reused the role/desc for DD).
+ Removed gtk expectation as the expectation has changed: platform/gtk/accessibility/lists-expected.txt
+
+ * accessibility/lists.html:
+ * platform/gtk/accessibility/lists-expected.txt: Removed.
+ * platform/mac/accessibility/definition-list-term-expected.txt:
+ * platform/mac/accessibility/definition-list-term.html:
+ * platform/mac/accessibility/lists-expected.txt:
+
2013-01-28 Ádám Kallai <[email protected]>
[Qt] Unreviewed gardening. Added platform specific expectations after r140728.
Modified: trunk/LayoutTests/accessibility/lists.html (140973 => 140974)
--- trunk/LayoutTests/accessibility/lists.html 2013-01-28 16:59:07 UTC (rev 140973)
+++ trunk/LayoutTests/accessibility/lists.html 2013-01-28 17:05:59 UTC (rev 140974)
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
<html>
<script>
if (window.testRunner)
Deleted: trunk/LayoutTests/platform/gtk/accessibility/lists-expected.txt (140973 => 140974)
--- trunk/LayoutTests/platform/gtk/accessibility/lists-expected.txt 2013-01-28 16:59:07 UTC (rev 140973)
+++ trunk/LayoutTests/platform/gtk/accessibility/lists-expected.txt 2013-01-28 17:05:59 UTC (rev 140974)
@@ -1,22 +0,0 @@
-test 1
-test 2
-test 1
-test 2
-term 1
-meaning 2
-term b
-meaning 1
-meaning 2
-
-
-
-
-
-
-
-
-
-
-
-
-
Modified: trunk/LayoutTests/platform/mac/accessibility/definition-list-term-expected.txt (140973 => 140974)
--- trunk/LayoutTests/platform/mac/accessibility/definition-list-term-expected.txt 2013-01-28 16:59:07 UTC (rev 140973)
+++ trunk/LayoutTests/platform/mac/accessibility/definition-list-term-expected.txt 2013-01-28 17:05:59 UTC (rev 140974)
@@ -10,11 +10,11 @@
PASS obj.childAtIndex(0).subrole is "AXSubrole: AXTerm"
PASS obj.childAtIndex(0).roleDescription is "AXRoleDescription: term"
PASS obj.childAtIndex(1).role is 'AXRole: AXGroup'
-PASS obj.childAtIndex(1).subrole is "AXSubrole: AXDefinition"
-PASS obj.childAtIndex(1).roleDescription is "AXRoleDescription: definition"
+PASS obj.childAtIndex(1).subrole is "AXSubrole: AXDescription"
+PASS obj.childAtIndex(1).roleDescription is "AXRoleDescription: description"
PASS obj.childAtIndex(1).role is 'AXRole: AXGroup'
-PASS obj.childAtIndex(1).subrole is "AXSubrole: AXDefinition"
-PASS obj.childAtIndex(1).roleDescription is "AXRoleDescription: definition"
+PASS obj.childAtIndex(1).subrole is "AXSubrole: AXDescription"
+PASS obj.childAtIndex(1).roleDescription is "AXRoleDescription: description"
PASS successfullyParsed is true
TEST COMPLETE
Modified: trunk/LayoutTests/platform/mac/accessibility/definition-list-term.html (140973 => 140974)
--- trunk/LayoutTests/platform/mac/accessibility/definition-list-term.html 2013-01-28 16:59:07 UTC (rev 140973)
+++ trunk/LayoutTests/platform/mac/accessibility/definition-list-term.html 2013-01-28 17:05:59 UTC (rev 140974)
@@ -28,12 +28,12 @@
shouldBe("obj.childAtIndex(0).roleDescription", '"AXRoleDescription: term"');
shouldBe("obj.childAtIndex(1).role", "'AXRole: AXGroup'");
- shouldBe("obj.childAtIndex(1).subrole", '"AXSubrole: AXDefinition"');
- shouldBe("obj.childAtIndex(1).roleDescription", '"AXRoleDescription: definition"');
+ shouldBe("obj.childAtIndex(1).subrole", '"AXSubrole: AXDescription"');
+ shouldBe("obj.childAtIndex(1).roleDescription", '"AXRoleDescription: description"');
shouldBe("obj.childAtIndex(1).role", "'AXRole: AXGroup'");
- shouldBe("obj.childAtIndex(1).subrole", '"AXSubrole: AXDefinition"');
- shouldBe("obj.childAtIndex(1).roleDescription", '"AXRoleDescription: definition"');
+ shouldBe("obj.childAtIndex(1).subrole", '"AXSubrole: AXDescription"');
+ shouldBe("obj.childAtIndex(1).roleDescription", '"AXRoleDescription: description"');
}
</script>
Modified: trunk/LayoutTests/platform/mac/accessibility/lists-expected.txt (140973 => 140974)
--- trunk/LayoutTests/platform/mac/accessibility/lists-expected.txt 2013-01-28 16:59:07 UTC (rev 140973)
+++ trunk/LayoutTests/platform/mac/accessibility/lists-expected.txt 2013-01-28 17:05:59 UTC (rev 140974)
@@ -68,8 +68,8 @@
------------
AXRole: AXList
-AXSubrole: AXDefinitionList
-AXRoleDescription: definition list
+AXSubrole: AXDescriptionList
+AXRoleDescription: list
AXChildren: <array of size 5>
AXHelp:
AXParent: <AXList>
@@ -276,8 +276,8 @@
------------
AXRole: AXGroup
-AXSubrole: AXDefinition
-AXRoleDescription: definition
+AXSubrole: AXDescription
+AXRoleDescription: description
AXChildren: <array of size 1>
AXHelp:
AXParent: <AXGroup>
@@ -324,8 +324,8 @@
------------
AXRole: AXGroup
-AXSubrole: AXDefinition
-AXRoleDescription: definition
+AXSubrole: AXDescription
+AXRoleDescription: description
AXChildren: <array of size 1>
AXHelp:
AXParent: <AXGroup>
@@ -348,8 +348,8 @@
------------
AXRole: AXGroup
-AXSubrole: AXDefinition
-AXRoleDescription: definition
+AXSubrole: AXDescription
+AXRoleDescription: description
AXChildren: <array of size 1>
AXHelp:
AXParent: <AXGroup>
Modified: trunk/Source/WebCore/ChangeLog (140973 => 140974)
--- trunk/Source/WebCore/ChangeLog 2013-01-28 16:59:07 UTC (rev 140973)
+++ trunk/Source/WebCore/ChangeLog 2013-01-28 17:05:59 UTC (rev 140974)
@@ -1,3 +1,57 @@
+2013-01-28 James Craig <[email protected]>
+
+ HTML5 promotes DL from specific 'definition list' to superset 'description list'; accessibility strings and accessors should be updated to match.
+ https://bugs.webkit.org/show_bug.cgi?id=107650
+
+ Reviewed by Chris Fleizach.
+
+ Updating accessibility strings and accessors for DL/DT/DD; new one for [role="definition"] (previously it reused the role/desc for DD).
+
+ Test: platform/mac/accessibility/definition-list-term.html:
+ Test: accessibility/lists.html
+
+ * English.lproj/Localizable.strings:
+ * accessibility/AccessibilityList.cpp:
+ (WebCore::AccessibilityList::isDescriptionList):
+ * accessibility/AccessibilityList.h:
+ (AccessibilityList):
+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::createARIARoleMap):
+ * accessibility/AccessibilityObject.h:
+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
+ * accessibility/mac/WebAccessibilityObjectWrapper.mm:
+ (createAccessibilityRoleMap):
+ (-[WebAccessibilityObjectWrapper subrole]):
+ (-[WebAccessibilityObjectWrapper roleDescription]):
+ * platform/LocalizedStrings.cpp:
+ (WebCore::AXDefinitionText):
+ (WebCore::AXDescriptionListTermText):
+ (WebCore):
+ (WebCore::AXDescriptionListDetailText):
+ * platform/LocalizedStrings.h:
+ (WebCore):
+ * platform/blackberry/LocalizedStringsBlackBerry.cpp:
+ (WebCore::AXDefinitionText):
+ (WebCore::AXDescriptionListDetailText):
+ (WebCore):
+ (WebCore::AXDescriptionListTermText):
+ * platform/efl/LocalizedStringsEfl.cpp:
+ (WebCore::AXDefinitionText):
+ (WebCore):
+ (WebCore::AXDescriptionListTermText):
+ (WebCore::AXDescriptionListDetailText):
+ * platform/gtk/LocalizedStringsGtk.cpp:
+ (WebCore::AXDefinitionText):
+ (WebCore):
+ (WebCore::AXDescriptionListTermText):
+ (WebCore::AXDescriptionListDetailText):
+ * platform/qt/LocalizedStringsQt.cpp:
+ (WebCore::AXDefinitionText):
+ (WebCore::AXDescriptionListTermText):
+ (WebCore):
+ (WebCore::AXDescriptionListDetailText):
+
2013-01-28 Vladislav Kaznacheev <[email protected]>
Web Inspector: Inherit SidebarPane from View.
Modified: trunk/Source/WebCore/English.lproj/Localizable.strings (140973 => 140974)
--- trunk/Source/WebCore/English.lproj/Localizable.strings 2013-01-28 16:59:07 UTC (rev 140973)
+++ trunk/Source/WebCore/English.lproj/Localizable.strings 2013-01-28 17:05:59 UTC (rev 140974)
@@ -610,9 +610,12 @@
/ * a c c e s s i b i l i t y h e l p t e x t f o r e l a p s e d t i m e d i s p l a y * /
"