patches and low-level development discussion
 help / color / mirror / code / Atom feed
From: Alyssa Ross <hi@alyssa.is>
To: devel@spectrum-os.org
Subject: [PATCH www] index.html: add alt text to logo
Date: Sat, 19 Dec 2020 14:25:46 +0000	[thread overview]
Message-ID: <20201219142546.21683-1-hi@alyssa.is> (raw)

The empty alt text would make the image basically invisible if the
user agent didn't display the image for whatever reason.  This would
have been fine if the image was entirely decorative, but since it's
also the only way to navigate to the logo page it's important it has
some fallback content so there's still something to select.
---
 index.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.html b/index.html
index 10dcdeb..4345121 100644
--- a/index.html
+++ b/index.html
@@ -17,8 +17,8 @@
 <body>
 
 <a href="logo" style="float: left; margin: 0 1em 0.5em 0">
-  <img class="logo" src="logo/logo_html.svg" width="70" height="70" alt="">
-  <img class="no-logo" srcset="logo/logo140.png 140w" src="logo/logo70.png" width="70" height="70" alt="" hidden loading="lazy">
+  <img class="logo" src="logo/logo_html.svg" width="70" height="70" alt="Spectrum logo">
+  <img class="no-logo" srcset="logo/logo140.png 140w" src="logo/logo70.png" width="70" height="70" alt="Spectrum logo" hidden loading="lazy">
 </a>
 
 <h1>Spectrum — a step towards <em>usable</em> secure computing</h1>
-- 
2.27.0

                 reply	other threads:[~2020-12-19 14:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20201219142546.21683-1-hi@alyssa.is \
    --to=hi@alyssa.is \
    --cc=devel@spectrum-os.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.
Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

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).