Skip to content

Commit 328243c

Browse files
tobiasbueschelwombleton
authored andcommitted
docs: add alt tag to homepage logo (facebook#9499)
1 parent eb5b1db commit 328243c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docusaurus/website/src/pages/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ function Home() {
4848
<div className="container">
4949
<img
5050
className={classnames(styles.heroBannerLogo, 'margin-vert--md')}
51+
alt="Create React App logo"
5152
src={useBaseUrl('img/logo.svg')}
5253
/>
5354
<h1 className="hero__title">{siteConfig.title}</h1>
@@ -99,7 +100,7 @@ function Home() {
99100
<div className="col col--5 col--offset-1">
100101
<img
101102
className={styles.featureImage}
102-
alt={'Easy to get started in seconds'}
103+
alt="Easy to get started in seconds"
103104
src={
104105
'https://camo.githubusercontent.com/29765c4a32f03bd01d44edef1cd674225e3c906b/68747470733a2f2f63646e2e7261776769742e636f6d2f66616365626f6f6b2f6372656174652d72656163742d6170702f323762343261632f73637265656e636173742e737667'
105106
}
@@ -114,7 +115,7 @@ function Home() {
114115
<div className="col col--4 col--offset-1">
115116
<img
116117
className={styles.featureImage}
117-
alt={'Easy to update'}
118+
alt="Easy to update"
118119
src={useBaseUrl('img/update.png')}
119120
/>
120121
</div>

0 commit comments

Comments
 (0)