Title: [129258] trunk/LayoutTests
Revision
129258
Author
roger_f...@apple.com
Date
2012-09-21 14:57:11 -0700 (Fri, 21 Sep 2012)

Log Message

Unreviewed. As in https://bugs.webkit.org/show_bug.cgi?id=92916, Windows specific results need to be added for various accessibility tests.

* platform/win/accessibility/aria-toggle-button-with-title-expected.txt: Added.
* platform/win/accessibility/canvas-fallback-content-2-expected.txt: Added.
* platform/win/accessibility/img-fallsback-to-title-expected.txt: Added.
* platform/win/accessibility/svg-image-expected.txt: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (129257 => 129258)


--- trunk/LayoutTests/ChangeLog	2012-09-21 21:43:57 UTC (rev 129257)
+++ trunk/LayoutTests/ChangeLog	2012-09-21 21:57:11 UTC (rev 129258)
@@ -1,5 +1,14 @@
 2012-09-21  Roger Fong  <roger_f...@apple.com>
 
+        Unreviewed. As in https://bugs.webkit.org/show_bug.cgi?id=92916, Windows specific results need to be added for various accessibility tests.
+
+        * platform/win/accessibility/aria-toggle-button-with-title-expected.txt: Added.
+        * platform/win/accessibility/canvas-fallback-content-2-expected.txt: Added.
+        * platform/win/accessibility/img-fallsback-to-title-expected.txt: Added.
+        * platform/win/accessibility/svg-image-expected.txt: Added.
+
+2012-09-21  Roger Fong  <roger_f...@apple.com>
+
         Unreviewed. Creating some Windows specific tests.
         http://trac.webkit.org/changeset/128652 changed results for these tests on Mac but Windows results should stay the same.
 

Added: trunk/LayoutTests/platform/win/accessibility/aria-toggle-button-with-title-expected.txt (0 => 129258)


--- trunk/LayoutTests/platform/win/accessibility/aria-toggle-button-with-title-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/accessibility/aria-toggle-button-with-title-expected.txt	2012-09-21 21:57:11 UTC (rev 129258)
@@ -0,0 +1,11 @@
+Toggle button
+Button title
+This tests that a toggle button properly exposes the title when there isn't a direct relation and textUnderElement is required to be used.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Role: push button
+FAIL tbutton1.title should be AXTitle: Toggle button. Was Toggle button.
+Role: push button
+FAIL button.title should be AXTitle: Button title. Was Button title.
Property changes on: trunk/LayoutTests/platform/win/accessibility/aria-toggle-button-with-title-expected.txt
___________________________________________________________________

Added: svn:executable

Added: trunk/LayoutTests/platform/win/accessibility/canvas-fallback-content-2-expected.txt (0 => 129258)


--- trunk/LayoutTests/platform/win/accessibility/canvas-fallback-content-2-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/accessibility/canvas-fallback-content-2-expected.txt	2012-09-21 21:57:11 UTC (rev 129258)
@@ -0,0 +1,375 @@
+Link  Button  Button  Button                 
+Focusable
+Heading
+
+ARIA button
+ARIA disabled button
+ARIA enabled button
+ARIA required button
+ARIA toggle button
+ARIA link
+This tests a number of different elements in canvas fallback content to make sure their accessible attributes are essentially identical to the corresponding elements outside of canvas fallback content.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+link1
+PASS document.activeElement == element1 is true
+link2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+FAIL axElement2.title should be Link. Was .
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+button1
+PASS document.activeElement == element1 is true
+button2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+FAIL axElement2.title should be Button. Was .
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+labeled-button1
+PASS document.activeElement == element1 is true
+labeled-button2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+FAIL axElement2.title should be Button. Was .
+FAIL axElement2.description should be Description: Label. Was .
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+button-with-title1
+PASS document.activeElement == element1 is true
+button-with-title2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+FAIL axElement2.title should be Button. Was .
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+text1
+PASS document.activeElement == element1 is true
+text2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+PASS axElement2.title is axElement1.title
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+checkbox1
+PASS document.activeElement == element1 is true
+checkbox2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+PASS axElement2.title is axElement1.title
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+number1
+PASS document.activeElement == element1 is true
+number2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+PASS axElement2.title is axElement1.title
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+FAIL axElement2.intValue should be 123. Was 0.
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+radio1
+PASS document.activeElement == element1 is true
+radio2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+PASS axElement2.title is axElement1.title
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+slider1
+PASS document.activeElement == element1 is true
+slider2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+PASS axElement2.title is axElement1.title
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+submit1
+PASS document.activeElement == element1 is true
+submit2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+FAIL axElement2.title should be Submit. Was .
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+combobox1
+PASS document.activeElement == element1 is true
+combobox2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+PASS axElement2.title is axElement1.title
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+FAIL axElement2.intValue should be 2. Was 0.
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+listbox1
+PASS document.activeElement == element1 is true
+listbox2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+PASS axElement2.title is axElement1.title
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+textarea1
+PASS document.activeElement == element1 is true
+textarea2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+PASS axElement2.title is axElement1.title
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+focusable1
+PASS document.activeElement == element1 is true
+focusable2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+FAIL axElement2.title should be Focusable. Was .
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+heading1
+PASS document.activeElement == element1 is true
+heading2
+PASS document.activeElement == element2 is true
+FAIL axElement2.role should be H5. Was client.
+PASS axElement2.roleDescription is axElement1.roleDescription
+FAIL axElement2.title should be Heading. Was .
+FAIL axElement2.description should be L5. Was .
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+aria-button1
+PASS document.activeElement == element1 is true
+aria-button2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+FAIL axElement2.title should be ARIA button. Was .
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+aria-disabledbutton1
+PASS document.activeElement == element1 is true
+aria-disabledbutton2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+FAIL axElement2.title should be ARIA disabled button. Was .
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+aria-enabledbutton1
+PASS document.activeElement == element1 is true
+aria-enabledbutton2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+FAIL axElement2.title should be ARIA enabled button. Was .
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+aria-requiredbutton1
+PASS document.activeElement == element1 is true
+aria-requiredbutton2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+FAIL axElement2.title should be ARIA required button. Was .
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+aria-togglebutton1
+PASS document.activeElement == element1 is true
+aria-togglebutton2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+FAIL axElement2.title should be ARIA toggle button. Was .
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+aria-link1
+PASS document.activeElement == element1 is true
+aria-link2
+PASS document.activeElement == element2 is true
+PASS axElement2.role is axElement1.role
+PASS axElement2.roleDescription is axElement1.roleDescription
+FAIL axElement2.title should be ARIA link. Was .
+PASS axElement2.description is axElement1.description
+PASS axElement2.helpText is axElement1.helpText
+PASS axElement2.stringValue is axElement1.stringValue
+PASS axElement2.isEnabled is axElement1.isEnabled
+PASS axElement2.isRequired is axElement1.isRequired
+PASS axElement2.isChecked is axElement1.isChecked
+PASS axElement2.intValue is axElement1.intValue
+PASS axElement2.minValue is axElement1.minValue
+PASS axElement2.maxValue is axElement1.maxValue
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
Property changes on: trunk/LayoutTests/platform/win/accessibility/canvas-fallback-content-2-expected.txt
___________________________________________________________________

Added: svn:executable

Added: trunk/LayoutTests/platform/win/accessibility/img-fallsback-to-title-expected.txt (0 => 129258)


--- trunk/LayoutTests/platform/win/accessibility/img-fallsback-to-title-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/accessibility/img-fallsback-to-title-expected.txt	2012-09-21 21:57:11 UTC (rev 129258)
@@ -0,0 +1,24 @@
+    
+test
+test
+This tests that images will fallback to using the title attribute if no other descriptive text is present.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Image1 description: Description: test1
+Image1 help: 
+
+Image2 description: Description: alt
+Image2 help: 
+
+Image3 description: Description: test3
+Image3 help: 
+
+Image4 description: Description: alt
+Image4 help: 
+
+PASS imagesGroup.childAtIndex(0).childrenCount is 2
+PASS successfullyParsed is true
+
+TEST COMPLETE
Property changes on: trunk/LayoutTests/platform/win/accessibility/img-fallsback-to-title-expected.txt
___________________________________________________________________

Added: svn:executable

Added: trunk/LayoutTests/platform/win/accessibility/svg-image-expected.txt (0 => 129258)


--- trunk/LayoutTests/platform/win/accessibility/svg-image-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/accessibility/svg-image-expected.txt	2012-09-21 21:57:11 UTC (rev 129258)
@@ -0,0 +1,13 @@
+
+This tests that SVG images are accessible elements and they have the same attributes as real images.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS svgImage.role is realImage.role
+PASS svgImage.description is realImage.description
+SVG Image Role: graphic
+SVG Image Description: Description: TestImage
+PASS successfullyParsed is true
+
+TEST COMPLETE
Property changes on: trunk/LayoutTests/platform/win/accessibility/svg-image-expected.txt
___________________________________________________________________

Added: svn:executable

_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to