Skip to content

Commit a6ea18c

Browse files
docs: Merge pull request #627 from HRIDYANSHU054/fixes/Issue/608
docs: Adds alt text to four images on the index page. Fixes issue #608.
2 parents 0f23fe8 + 625a428 commit a6ea18c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/pages/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ import Button from '../components/Button';
8686
height="600"
8787
src={`${process.env.IMAGES_DIRECTORY}/next-cloudinary-optimization_saagby`}
8888
sizes="50w"
89-
alt=""
89+
alt="Example of automatic image optimization and responsive delivery"
9090
/>
9191
<h3 className="text-2xl font-semibold mb-4">Optimization</h3>
9292
<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 +98,7 @@ import Button from '../components/Button';
9898
height="600"
9999
src={`${process.env.IMAGES_DIRECTORY}/next-cloudinary-transformations_vjacda`}
100100
sizes="50w"
101-
alt=""
101+
alt="Demo of image transformations: cropping, resizing and background removal"
102102
/>
103103
<h3 className="text-2xl font-semibold mb-4">Transformations</h3>
104104
<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 +110,7 @@ import Button from '../components/Button';
110110
height="600"
111111
src={`${process.env.IMAGES_DIRECTORY}/next-cloudinary-upload-widget_fvrnjs`}
112112
sizes="50w"
113-
alt=""
113+
alt="Cloudinary upload widget UI for adding assets"
114114
/>
115115
<h3 className="text-2xl font-semibold mb-4">Uploading</h3>
116116
<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 +122,7 @@ import Button from '../components/Button';
122122
height="600"
123123
src={`${process.env.IMAGES_DIRECTORY}/next-cloudinary-social-cards_ll4fqu`}
124124
sizes="50w"
125-
alt=""
125+
alt="Social card preview for Open Graph (OG) images"
126126
/>
127127
<h3 className="text-2xl font-semibold mb-4">Social Cards</h3>
128128
<p>Easiest way to create beautiful <Link className="underline underline-offset-2" href="/guides/social-media-card">social cards</Link> in Next.js.</p>

0 commit comments

Comments
 (0)