qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] [qemu-web PATCH 2/2] Add "alt" attributes to the img tags
Date: Tue,  7 Feb 2017 11:23:42 +0100	[thread overview]
Message-ID: <1486463022-4780-3-git-send-email-thuth@redhat.com> (raw)
In-Reply-To: <1486463022-4780-1-git-send-email-thuth@redhat.com>

The "alt" attribute is mandatory for the img tags according to
the HTML standard, so we need this to get valid HTML.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 _includes/screenshot.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/_includes/screenshot.html b/_includes/screenshot.html
index 3f85791..70b0d11 100644
--- a/_includes/screenshot.html
+++ b/_includes/screenshot.html
@@ -5,5 +5,5 @@
    else %}{{screenshot.description}}{%endif %}{%
    if screenshot.author %} {{screenshot.author | markdownify | remove: '<p>' | remove: '</p>' | strip_newlines | escape}} {% endif %}{%
    if screenshot.source %} (&lt;a href=&quot;{{screenshot.source}}&quot;&gt;Source&lt;/a&gt;){%endif %}"><img
-   src="screenshots/{{screenshot.file}}"/></a>
+   src="screenshots/{{screenshot.file}}" alt="Screenshot: {{screenshot.description}}"/></a>
 {% endfor %}
-- 
1.8.3.1

  parent reply	other threads:[~2017-02-07 10:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-07 10:23 [Qemu-devel] [qemu-web PATCH 0/2] Fix HTML issues discovered with the W3 HTML validator Thomas Huth
2017-02-07 10:23 ` [Qemu-devel] [qemu-web PATCH 1/2] Add missing HTML tag to close the screenshots section Thomas Huth
2017-02-07 10:23 ` Thomas Huth [this message]
2017-02-07 10:40 ` [Qemu-devel] [qemu-web PATCH 0/2] Fix HTML issues discovered with the W3 HTML validator Paolo Bonzini
2017-02-07 10:50   ` Thomas Huth
2017-02-07 14:49     ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1486463022-4780-3-git-send-email-thuth@redhat.com \
    --to=thuth@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).