patches and low-level development discussion
 help / color / mirror / code / Atom feed
* [PATCH www] index.html: add alt text to logo
@ 2020-12-19 14:25 Alyssa Ross
  0 siblings, 0 replies; only message in thread
From: Alyssa Ross @ 2020-12-19 14:25 UTC (permalink / raw)
  To: devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-19 14:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-19 14:25 [PATCH www] index.html: add alt text to logo Alyssa Ross

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