From 3f57f49033d78fab158af77983611ffcb5cac4bc Mon Sep 17 00:00:00 2001 From: Mauro Bieg Date: Tue, 28 May 2019 18:31:41 +0200 Subject: HTML writer: emit empty alt tag in figures (#5518) The same text is already in the
and screen-readers would read it twice, see #4737 --- test/command/3577.md | 6 +++--- test/command/4677.md | 2 +- test/command/5121.md | 2 +- test/writer.html4 | 2 +- test/writer.html5 | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'test') diff --git a/test/command/3577.md b/test/command/3577.md index dc88937e9..d1df1610d 100644 --- a/test/command/3577.md +++ b/test/command/3577.md @@ -16,10 +16,10 @@ \end{figure} ^D
-Caption 1
Caption 1
+
Caption 1
-Caption 2
Caption 2
+
Caption 2
``` ``` @@ -30,6 +30,6 @@ \end{figure} ^D
-Caption 3
Caption 3
+
Caption 3
``` diff --git a/test/command/4677.md b/test/command/4677.md index 0343cf42a..11a62fd08 100644 --- a/test/command/4677.md +++ b/test/command/4677.md @@ -3,6 +3,6 @@ ![Caption](img.png){#img:1} ^D
-Caption
Caption
+
Caption
``` diff --git a/test/command/5121.md b/test/command/5121.md index 9003cdfec..0f45c4afe 100644 --- a/test/command/5121.md +++ b/test/command/5121.md @@ -5,7 +5,7 @@ ## Header 2 ^D
-My caption
My caption
+
My caption
Header 2 diff --git a/test/writer.html4 b/test/writer.html4 index 6d15f239e..96e8a7979 100644 --- a/test/writer.html4 +++ b/test/writer.html4 @@ -518,7 +518,7 @@ Blah

Images

From “Voyage dans la Lune” by Georges Melies (1902):

-lalune +

lalune

Here is a movie movie icon.

diff --git a/test/writer.html5 b/test/writer.html5 index 88b382ed2..d26b83d9b 100644 --- a/test/writer.html5 +++ b/test/writer.html5 @@ -521,7 +521,7 @@ Blah

Images

From “Voyage dans la Lune” by Georges Melies (1902):

-lalune
lalune
+
lalune

Here is a movie movie icon.


-- cgit v1.2.3