Skip to content

Commit b084f0d

Browse files
committed
Added alt text to images
1 parent 1c11907 commit b084f0d

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

src/components/Footer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function Footer() {
1111
<Container fluid>
1212
<Row className='footer-above'>
1313
<Col xs={12} md={3}>
14-
<img src={RocketImg} alt='' height={130} width={69} />
14+
<img src={RocketImg} alt='rocket' height={130} width={69} />
1515
</Col>
1616
<Col xs={12} sm={12} md={3}>
1717
<h4>Useful Links</h4>
@@ -55,7 +55,7 @@ function Footer() {
5555
</li>
5656
<li className='footer-link'>
5757
<a href='https://twitter.com/codeisscience' target='_blank' rel='noreferrer'>
58-
<ImTwitter className='twitter-icon icons'/>
58+
<ImTwitter className='twitter-icon icons'/>
5959
&nbsp;Twitter
6060
</a>
6161
</li>

src/components/LandingSection.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function LandingSection() {
1313
<Container>
1414
<Row>
1515
<Col xs={12} sm={12} md={6}>
16-
<Image src={Img} height={342} width={456} alt='' fluid />
16+
<Image src={Img} height={342} width={456} alt= 'people working with laptops' fluid />
1717
</Col>
1818
<Col xs={12} sm={12} md={6}>
1919
<h1>Premise</h1>
@@ -41,7 +41,7 @@ function LandingSection() {
4141
If software is required to perform science, it stands to reason that errors in your
4242
software mean errors in your science.
4343
</p>
44-
<Image src={ClockImg} height={252} width={220} fluid />
44+
<Image src={ClockImg} height={252} width={220} alt='clock' fluid />
4545
</Col>
4646
<Col xs={12} sm={12} md={6}>
4747
<h1>Possible Solution?</h1>
@@ -50,7 +50,7 @@ function LandingSection() {
5050
That’s easier said than done. Getting there requires awareness, culture shift, and
5151
adherence to best practices.
5252
</p>
53-
<Image src={TalkingImg} height={266} width={456} fluid />
53+
<Image src={TalkingImg} height={266} width={456} alt='animated talking girls'fluid />
5454
</Col>
5555
</Row>
5656
</Container>

src/components/Navigation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function Navigation() {
1616
fixed="top"
1717
>
1818
<Navbar.Brand href='#home'>
19-
<img src={Logo} alt='' srcSet='' height={81} width={150} />
19+
<img src={Logo} alt='code is science' srcSet='' height={81} width={150} />
2020
</Navbar.Brand>
2121
<Navbar.Toggle aria-controls='responsive-navbar-nav' />
2222
<Navbar.Collapse id='responsive-navbar-nav' className='justify-content-evenly'>

src/pages/Manifesto.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ const Manifesto = () => (
1616
<Container>
1717
<Row className='manifesto-header manifesto-padding'>
1818
<Col xs={12} sm={12} md={3} className='imgContainer'>
19-
<Image src={StandingImg} height={220} />
19+
<Image src={StandingImg} height={220} alt= 'animated standing and talking girl' />
2020
</Col>
2121
<Col xs={12} sm={12} md={6} className='manifesto'>
2222
<h1>Manifesto</h1>
2323
</Col>
2424
<Col md={3} className='imgContainer'>
25-
<Image src={SittingImg} height={220} />
25+
<Image src={SittingImg} height={220} alt='animated sitting and talking girl' />
2626
</Col>
2727
</Row>
2828
<Row className='manifesto-section-one'>
2929
<Col xs={12} sm={12} md={6}>
30-
<Image src={ImgOne} fluid />
30+
<Image src={ImgOne} alt='research' fluid />
3131
<p>Code is Science - a manifesto for anyone who deals with code in a scientific scenario</p>
3232
</Col>
3333
<Col md={6}>
@@ -51,7 +51,7 @@ const Manifesto = () => (
5151
<Row className='manifesto-support'>
5252
<h1>I want to express my support for the manifesto! Tell me how</h1>
5353
<Col md={3} className="manifesto-support-points">
54-
<Image src={WalkingImg} height={140} />
54+
<Image src={WalkingImg} height={140} alt='walking man' />
5555
<p>
5656
<a
5757
href='https://docs.google.com/forms/d/e/1FAIpQLSeaDLDaREkUyOwpvbQf41hxT12ixoBToTdBhlgTj_YoW0tSgw/viewform?usp=sf_link'
@@ -63,7 +63,7 @@ const Manifesto = () => (
6363
</p>
6464
</Col>
6565
<Col md={3} className="manifesto-support-points">
66-
<Image src={PeersImg} height={140} />
66+
<Image src={PeersImg} height={140} alt='animated talking boys'/>
6767
<p>
6868
<a
6969
href='https://docs.google.com/forms/d/e/1FAIpQLSdUPKlP__5saaYMyEJwkHF3gRNAHiKihOlp6zd6QK4vUqs3gg/viewform?usp=sf_link'
@@ -77,7 +77,7 @@ const Manifesto = () => (
7777
</p>
7878
</Col>
7979
<Col md={3} className="manifesto-support-points">
80-
<img src={HandsIcon} alt='' height={140} />
80+
<img src={HandsIcon} alt='hands icon' height={140} />
8181
<p>
8282
We’re particularly interested in adding logos and links indicating organisational support
8383
from publishers, funders, and research institutions.

0 commit comments

Comments
 (0)