From 62169a1763590d4e7b39ca012de5b0bd48adc6ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BCschel?= <tobias.buschel.15@alumni.ucl.ac.uk> Date: Tue, 18 Aug 2020 19:44:52 +0800 Subject: [PATCH] fix: add alt tag to improve accessibility of docusaurus website --- docusaurus/website/src/pages/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docusaurus/website/src/pages/index.js b/docusaurus/website/src/pages/index.js index 20a92182a..ea5efa76d 100644 --- a/docusaurus/website/src/pages/index.js +++ b/docusaurus/website/src/pages/index.js @@ -48,6 +48,7 @@ function Home() { <div className="container"> <img className={classnames(styles.heroBannerLogo, 'margin-vert--md')} + alt="Create React App logo" src={useBaseUrl('img/logo.svg')} /> <h1 className="hero__title">{siteConfig.title}</h1> @@ -99,7 +100,7 @@ function Home() { <div className="col col--5 col--offset-1"> <img className={styles.featureImage} - alt={'Easy to get started in seconds'} + alt="Easy to get started in seconds" src={ 'https://camo.githubusercontent.com/29765c4a32f03bd01d44edef1cd674225e3c906b/68747470733a2f2f63646e2e7261776769742e636f6d2f66616365626f6f6b2f6372656174652d72656163742d6170702f323762343261632f73637265656e636173742e737667' } @@ -114,7 +115,7 @@ function Home() { <div className="col col--4 col--offset-1"> <img className={styles.featureImage} - alt={'Easy to update'} + alt="Easy to update" src={useBaseUrl('img/update.png')} /> </div> -- GitLab