Skip to content

Commit 8559cdc

Browse files
committed
fix: add missing alt text to What's Inside section for accessibility
1 parent 833e847 commit 8559cdc

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

docs/pages/index.mdx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Head from 'next/head';
1+
import Head from 'next/head';
22
import Link from 'next/link';
33
import data from "../../next-cloudinary/package.json"
44

@@ -73,8 +73,6 @@ import Button from '../components/Button';
7373
<p className="mt-10"><Button href="/installation">Get Started</Button></p>
7474
</div>
7575

76-
77-
7876
<div className="text-center max-w-4xl mx-auto my-14 md:my-36">
7977
<h2 className="text-4xl font-bold">What's Inside?</h2>
8078

@@ -86,7 +84,7 @@ import Button from '../components/Button';
8684
height="600"
8785
src={`${process.env.IMAGES_DIRECTORY}/next-cloudinary-optimization_saagby`}
8886
sizes="50w"
89-
alt=""
87+
alt="Galaxy image showing file size optimization from 2.8MB to 44KB for faster performance"
9088
/>
9189
<h3 className="text-2xl font-semibold mb-4">Optimization</h3>
9290
<p>Automatically <Link className="underline underline-offset-2" href="/guides/image-optimization">optimize images</Link> and videos with <Link className="underline underline-offset-2" href="/guides/responsive-images">responsive sizes</Link> and modern formats.</p>
@@ -98,7 +96,7 @@ import Button from '../components/Button';
9896
height="600"
9997
src={`${process.env.IMAGES_DIRECTORY}/next-cloudinary-transformations_vjacda`}
10098
sizes="50w"
101-
alt=""
99+
alt="Person editing image representing Cloudinary’s image transformation and AI tools"
102100
/>
103101
<h3 className="text-2xl font-semibold mb-4">Transformations</h3>
104102
<p>Transform assets using dynamic <Link className="underline underline-offset-2" href="/cldimage/examples#cropping--resizing">Cropping and Resizing</Link>, <Link className="underline underline-offset-2" href="/guides/background-removal">Background Removal</Link>, Generative AI, and more.</p>
@@ -110,7 +108,7 @@ import Button from '../components/Button';
110108
height="600"
111109
src={`${process.env.IMAGES_DIRECTORY}/next-cloudinary-upload-widget_fvrnjs`}
112110
sizes="50w"
113-
alt=""
111+
alt="Drag and drop widget interface showing how to upload images easily using Cloudinary"
114112
/>
115113
<h3 className="text-2xl font-semibold mb-4">Uploading</h3>
116114
<p>Drop-in widget for easily <Link className="underline underline-offset-2" href="/guides/uploading-images-and-videos">uploading assets</Link> into the cloud.</p>
@@ -122,7 +120,7 @@ import Button from '../components/Button';
122120
height="600"
123121
src={`${process.env.IMAGES_DIRECTORY}/next-cloudinary-social-cards_ll4fqu`}
124122
sizes="50w"
125-
alt=""
123+
alt="Example social card for a Next.js project generated dynamically using Cloudinary"
126124
/>
127125
<h3 className="text-2xl font-semibold mb-4">Social Cards</h3>
128126
<p>Easiest way to create beautiful <Link className="underline underline-offset-2" href="/guides/social-media-card">social cards</Link> in Next.js.</p>
@@ -199,4 +197,4 @@ import Button from '../components/Button';
199197
<div className="text-center max-w-2xl mx-auto my-20 md:my-44">
200198
<h2 className="text-3xl sm:text-4xl md:text-5xl font-bold md:leading-[4rem]">Transform &amp; Deliver at Scale with Next Cloudinary</h2>
201199
<p className="mt-10"><Button href="/installation">Get Started</Button></p>
202-
</div>
200+
</div>

0 commit comments

Comments
 (0)