Author: Darian Benam (BeardedFish)
Committer: GitHub (web-flow)
Pusher: cmb69
Date: 2022-09-02T12:33:46+02:00

Commit: 
https://github.com/php/web-php/commit/6d80bca1706ecaf8b970e0fd891e4bf6b17a58b7
Raw diff: 
https://github.com/php/web-php/commit/6d80bca1706ecaf8b970e0fd891e4bf6b17a58b7.diff

Add required `alt` attribute to hero header image on homepage

Closes GH-693.

Changed paths:
  M  index.php


Diff:

diff --git a/index.php b/index.php
index 7f9435a65..437bd1594 100644
--- a/index.php
+++ b/index.php
@@ -92,7 +92,7 @@
 
 $intro = <<<EOF
   <div class="hero">
-    <img class="hero-logo" src="/images/logos/php-logo-white.svg" width="240" 
height="120">
+    <img class="hero-logo" src="/images/logos/php-logo-white.svg" alt="php" 
width="240" height="120">
     <p class="hero-text">A <strong>popular general-purpose scripting 
language</strong> that is especially suited to web development.<br />Fast, 
flexible and pragmatic, PHP powers everything from your blog to the most 
popular websites in the world.</p>
     <div class="hero-actions">
       <a href="/releases/8.1/index.php" class="hero-btn 
hero-btn-primary">What's new in 8.1</a>

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to