Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2293)

Unified Diff: content/test/data/accessibility/html/picture.html

Issue 2833843005: Handling of different types of empty alt (Closed)
Patch Set: Ready to land Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/test/data/accessibility/html/picture.html
diff --git a/content/test/data/accessibility/html/picture.html b/content/test/data/accessibility/html/picture.html
new file mode 100644
index 0000000000000000000000000000000000000000..0f5409f290f481695005b99aaccc6da2c9d406f1
--- /dev/null
+++ b/content/test/data/accessibility/html/picture.html
@@ -0,0 +1,39 @@
+<!--
+@MAC-ALLOW:AXRoleDescription='image'
+@WIN-ALLOW:xml-roles:*
+-->
+<html>
+ <body>
+ <picture>
+ <source sizes="100vw" srcset="./200.webp 200w,./400.webp 400w"
+ type="image/webp" />
+ <img src="./200.jpg" width="200" height="200" alt="x"
+ sizes="100vw" srcset="./200.jpg 200w,./400.jpg 400w" />
+ </picture>
+ <picture>
+ <source sizes="100vw" srcset="./200.webp 200w,./400.webp 400w"
+ type="image/webp" />
+ <img src="./200.jpg" width="200" height="200" alt=" "
+ sizes="100vw" srcset="./200.jpg 200w,./400.jpg 400w" />
+ </picture>
+ <picture>
+ <source sizes="100vw" srcset="./200.webp 200w,./400.webp 400w"
+ type="image/webp" />
+ <img src="./200.jpg" width="200" height="200" alt=""
+ sizes="100vw" srcset="./200.jpg 200w,./400.jpg 400w" />
+ </picture>
+ <picture>
+ <source sizes="100vw" srcset="./200.webp 200w,./400.webp 400w"
+ type="image/webp" />
+ <img src="./200.jpg" width="200" height="200" alt
+ sizes="100vw" srcset="./200.jpg 200w,./400.jpg 400w" />
+ </picture>
+ <picture>
+ <source sizes="100vw" srcset="./200.webp 200w,./400.webp 400w"
+ type="image/webp" />
+ <img src="./200.jpg" width="200" height="200"
+ sizes="100vw" srcset="./200.jpg 200w,./400.jpg 400w" />
+ </picture>
+ </body>
+</html>
+

Powered by Google App Engine
This is Rietveld 408576698