[Webkit-unassigned] [Bug 194754] Web Inspector: AXI: Audit: image label test is throwing spurious errors on elements with existing alt attr, but no value: <img alt>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 11 10:56:30 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=194754

Shawn Roberts <sroberts at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sroberts at apple.com

--- Comment #14 from Shawn Roberts <sroberts at apple.com> ---
It appears that after changes in r246320 

The new layout test added :

accessibility/img-alt-attribute-no-value.html

Also this layout test :

inspector/dom/getAccessibilityPropertiesForNode.html

Are failing on Mojave Release, and High Sierra Release WK1

Verified locally with :

run-webkit-tests accessibility/img-alt-attribute-no-value.html --iter 25 -f

Locally I could only get it to fail flakily, but the inspector test fails 100% locally with r246320 and passes in prior revisions.

Diffs:

--- /Volumes/Data/slave/mojave-release-tests-wk2/build/layout-test-results/accessibility/img-alt-attribute-no-value-expected.txt
+++ /Volumes/Data/slave/mojave-release-tests-wk2/build/layout-test-results/accessibility/img-alt-attribute-no-value-actual.txt
@@ -7,9 +7,9 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


-PASS imagesGroup.childrenCount is 2
+FAIL imagesGroup.childrenCount should be 2. Was 3.
 PASS platformValueForW3CName(imagesGroup.childAtIndex(0)) is "cake0"
-PASS platformValueForW3CName(imagesGroup.childAtIndex(1)) is "cake3"
+FAIL platformValueForW3CName(imagesGroup.childAtIndex(1)) should be cake3. Was .
 PASS successfullyParsed is true

 TEST COMPLETE

--- /Volumes/Data/slave/mojave-release-tests-wk2/build/layout-test-results/inspector/dom/getAccessibilityPropertiesForNode-expected.txt
+++ /Volumes/Data/slave/mojave-release-tests-wk2/build/layout-test-results/inspector/dom/getAccessibilityPropertiesForNode-actual.txt
@@ -326,7 +326,7 @@
 <img src="data:image/gif..." alt="x" aria-hidden="true">
     exists: true
     label: x
-    role: img
+    role: presentation
     ignored: true
     ignoredByDefault: true
     hidden: true
@@ -339,18 +339,18 @@
 <img src="data:image/gif..." alt="">
     exists: true
     label: 
+    role: presentation
+    ignored: true
+
+<img src="data:image/gif...">
+    exists: true
+    label: 
     role: img
-    ignored: true
-
-<img src="data:image/gif...">
-    exists: true
-    label: 
-    role: img

 <img src="./404.gif">
     exists: true
     label: 
-    role: img
+    role: presentation
     ignored: true

 <input style="display:none;">
@@ -361,7 +361,7 @@
 <input aria-hidden="true">
     exists: true
     label: 
-    role: 
+    role: presentation
     focused: false
     ignored: true
     ignoredByDefault: true
@@ -906,7 +906,7 @@
 <span aria-hidden="true"></span>
     exists: true
     label: 
-    role: 
+    role: presentation
     ignored: true
     ignoredByDefault: true
     hidden: true
@@ -915,7 +915,7 @@
 <span></span>
     exists: true
     label: 
-    role: 
+    role: presentation
     ignored: true
     ignoredByDefault: true
     parentNodeId: exists
@@ -923,7 +923,7 @@
 <div aria-hidden="true"></div>
     exists: true
     label: 
-    role: 
+    role: presentation
     ignored: true
     ignoredByDefault: true
     hidden: true
@@ -932,7 +932,7 @@
 <div></div>
     exists: true
     label: 
-    role: 
+    role: presentation
     ignored: true
     parentNodeId: exists

@@ -961,14 +961,14 @@
 <div><div></div></div>
     exists: true
     label: 
-    role: 
+    role: presentation
     ignored: true
     parentNodeId: exists

 <script style="display:block;"></script>
     exists: true
     label: 
-    role: 
+    role: presentation
     ignored: true
     parentNodeId: exists

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190611/4abbc3fc/attachment-0001.html>


More information about the webkit-unassigned mailing list