Add missing alttexts

This commit is contained in:
Marcus Blättermann 2023-01-24 08:07:32 +01:00
parent d5d02f46ff
commit ee466a1224
No known key found for this signature in database
GPG Key ID: A1E1F04008AC450D
8 changed files with 13 additions and 8 deletions

View File

@ -134,6 +134,7 @@ useful for your purpose. Here are some important considerations to keep in mind:
<Image
src="/images/sense2vec.jpg"
href="https://github.com/explosion/sense2vec"
alt="sense2vec Screenshot"
/>
[`sense2vec`](https://github.com/explosion/sense2vec) is a library developed by

View File

@ -113,6 +113,7 @@ code.
<Image
src="/images/thinc_mypy.jpg"
href="https://thinc.ai/docs/usage-type-checking#linting"
alt="Screenshot of Thinc type checking in VSCode with mypy"
/>
</Accordion>

View File

@ -943,7 +943,7 @@ full embedded visualizer, as well as individual components.
> $ pip install spacy-streamlit --pre
> ```
![](/images/spacy-streamlit.png)
![Screenshot of the spacy-streamlit package in Streamlit](/images/spacy-streamlit.png)
Using [`spacy-streamlit`](https://github.com/explosion/spacy-streamlit), your
projects can easily define their own scripts that spin up an interactive

View File

@ -437,6 +437,6 @@ Alternatively, if you're using [Streamlit](https://streamlit.io), check out the
helps you integrate spaCy visualizations into your apps. It includes a full
embedded visualizer, as well as individual components.
![](/images/spacy-streamlit.png)
![Screenshot of the spacy-streamlit package in Streamlit](/images/spacy-streamlit.png)
</Grid>

View File

@ -89,8 +89,8 @@ const Landing = () => {
</LandingCard>
<LandingCard title="Awesome ecosystem" url="/usage/projects" button="Read more">
Since its release in 2015, spaCy has become an industry standard with
a huge ecosystem. Choose from a variety of plugins, integrate with your machine
Since its release in 2015, spaCy has become an industry standard with a huge
ecosystem. Choose from a variety of plugins, integrate with your machine
learning stack and build custom components and workflows.
</LandingCard>
</LandingGrid>
@ -206,7 +206,10 @@ const Landing = () => {
<LandingGrid cols={2}>
<LandingCol>
<Link to="/usage/projects" hidden>
<ImageFill image={projectsImage} />
<ImageFill
image={projectsImage}
alt="Illustration of project workflow and commands"
/>
</Link>
<br />
<br />

View File

@ -19,7 +19,7 @@ export default function Card({ title, to, image, header, small, onClick, childre
<H5 className={classes.title}>
{image && (
<div className={classes.image}>
<ImageNext src={image} height={35} width={35} alt="" />
<ImageNext src={image} height={35} width={35} alt={`${title} Logo`} />
</div>
)}
{title && (

View File

@ -51,7 +51,7 @@ export default function Title({
{image && (
<div className={classes.image}>
<Image src={image} width={100} height={100} alt="" />
<Image src={image} width={100} height={100} alt={`${title} Logo`} />
</div>
)}
</div>

View File

@ -83,7 +83,7 @@ const UniverseContent = ({ content = [], categories, theme, pageContext, mdxComp
const header = youtube && (
<Image
src={`https://img.youtube.com/vi/${youtube}/0.jpg`}
alt=""
alt={title}
width="480"
height="360"
style={{