Skip to content

Commit befa80e

Browse files
authored
add alt text (#1445)
1 parent bf0d6e8 commit befa80e

File tree

4 files changed

+21
-7
lines changed

4 files changed

+21
-7
lines changed

index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ export const HeroCard = ({ filename, title, description, href }) => {
2828
<img
2929
src="/images/hero/background-light.png"
3030
className="block dark:hidden pointer-events-none"
31+
alt="Decorative background image."
3132
/>
3233
<img
3334
src="/images/hero/background-dark.png"
3435
className="hidden dark:block pointer-events-none"
36+
alt="Decorative background image."
3537
/>
3638
</div>
3739

installation.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ description: "Install the CLI to preview and develop your docs locally"
66
<img
77
className="block dark:hidden my-0 pointer-events-none"
88
src="/images/installation/local-development-light.png"
9+
alt="Decorative graphic representing the CLI."
910
/>
1011
<img
1112
className="hidden dark:block my-0 pointer-events-none"
1213
src="/images/installation/local-development-dark.png"
14+
alt="Decorative graphic representing the CLI."
1315
/>
1416

1517
## Installing the CLI

integrations/analytics/google-analytics.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You will need to create a web stream to get the Measurement ID to put into Mintl
1414

1515
Click the cog at the bottom left of the Google Analytics screen. Then click on Data Streams.
1616

17-
<Frame>![](/images/ga4-web-streams.png)</Frame>
17+
<Frame>![Screenshot of the Data Streams page in the Google Analytics dashboard.](/images/ga4-web-streams.png)</Frame>
1818

1919
Create a Web Stream and put the URL of your Mintlify docs site as the stream URL.
2020

organize/navigation.mdx

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ Pages are the most fundamental navigation component. Pages map to the MDX files
1414
<img
1515
className="block dark:hidden pointer-events-none"
1616
src="/images/navigation/pages-light.png"
17-
alt=""
17+
alt="Decorative graphic of pages."
1818
/>
1919

2020
<img
2121
className="hidden dark:block pointer-events-none"
2222
src="/images/navigation/pages-dark.png"
23-
alt=""
23+
alt="Decorative graphic of pages."
2424
/>
2525

2626
In the `navigation` object, `pages` is an array where each entry must reference the path to a [page file](pages).
@@ -46,13 +46,13 @@ Use groups to organize your sidebar navigation into sections. Groups can be nest
4646
<img
4747
className="block dark:hidden pointer-events-none"
4848
src="/images/navigation/groups-light.png"
49-
alt=""
49+
alt="Decorative graphic of groups."
5050
/>
5151

5252
<img
5353
className="hidden dark:block pointer-events-none"
5454
src="/images/navigation/groups-dark.png"
55-
alt=""
55+
alt="Decorative graphic of groups."
5656
/>
5757

5858
In the `navigation` object, `groups` is an array where each entry is an object that requires a `group` field and a `pages` field. The `icon`, `tag`, and `expanded` fields are optional.
@@ -110,13 +110,13 @@ Tabs create distinct sections of your documentation with separate URL paths. Tab
110110
<img
111111
className="block dark:hidden pointer-events-none"
112112
src="/images/navigation/tabs-light.png"
113-
alt=""
113+
alt="Decorative graphic of a tab navigation."
114114
/>
115115

116116
<img
117117
className="hidden dark:block pointer-events-none"
118118
src="/images/navigation/tabs-dark.png"
119-
alt=""
119+
alt="Decorative graphic of a tab navigation."
120120
/>
121121

122122
In the `navigation` object, `tabs` is an array where each entry is an object that requires a `tab` field and can contain other navigation fields such as groups, pages, icons, or links to external pages.
@@ -206,11 +206,13 @@ Anchors add persistent navigation items to the top of your sidebar. Use anchors
206206
<img
207207
className="block dark:hidden pointer-events-none"
208208
src="/images/navigation/anchors-light.png"
209+
alt="Decorative graphic of an anchor navigation."
209210
/>
210211

211212
<img
212213
className="hidden dark:block pointer-events-none"
213214
src="/images/navigation/anchors-dark.png"
215+
alt="Decorative graphic of an anchor navigation."
214216
/>
215217

216218
In the `navigation` object, `anchors` is an array where each entry is an object that requires an `anchor` field and can contain other navigation fields such as groups, pages, icons, or links to external pages.
@@ -279,11 +281,13 @@ Dropdowns are contained in an expandable menu at the top of your sidebar navigat
279281
<img
280282
className="block dark:hidden pointer-events-none"
281283
src="/images/navigation/dropdowns-light.png"
284+
alt="Decorative graphic of a dropdown navigation."
282285
/>
283286

284287
<img
285288
className="hidden dark:block pointer-events-none"
286289
src="/images/navigation/dropdowns-dark.png"
290+
alt="Decorative graphic of a dropdown navigation."
287291
/>
288292

289293
In the `navigation` object, `dropdowns` is an array where each entry is an object that requires a `dropdown` field and can contain other navigation fields such as groups, pages, icons, or links to external pages.
@@ -324,11 +328,13 @@ In the `navigation` object, `dropdowns` is an array where each entry is an objec
324328
<img
325329
className="block dark:hidden pointer-events-none"
326330
src="/images/navigation/product-switcher-light.png"
331+
alt="Decorative graphic of a product switcher."
327332
/>
328333

329334
<img
330335
className="hidden dark:block pointer-events-none"
331336
src="/images/navigation/product-switcher-dark.png"
337+
alt="Decorative graphic of a product switcher."
332338
/>
333339

334340
Products create a dedicated navigation division for organizing product-specific documentation. Use products to separate different offerings, services, or major feature sets within your documentation.
@@ -420,11 +426,13 @@ Partition your navigation into different versions. Versions are selectable from
420426
<img
421427
className="block dark:hidden pointer-events-none"
422428
src="/images/navigation/versions-light.png"
429+
alt="Decorative graphic of a version switcher."
423430
/>
424431

425432
<img
426433
className="hidden dark:block pointer-events-none"
427434
src="/images/navigation/versions-dark.png"
435+
alt="Decorative graphic of a version switcher."
428436
/>
429437

430438
In the `navigation` object, `versions` is an array where each entry is an object that requires a `version` field and can contain any other navigation fields.
@@ -463,11 +471,13 @@ Partition your navigation into different languages. Languages are selectable fro
463471
<img
464472
className="block dark:hidden pointer-events-none"
465473
src="/images/navigation/languages-light.png"
474+
alt="Decorative graphic of a language switcher."
466475
/>
467476

468477
<img
469478
className="hidden dark:block pointer-events-none"
470479
src="/images/navigation/languages-dark.png"
480+
alt="Decorative graphic of a language switcher."
471481
/>
472482

473483
In the `navigation` object, `languages` is an array where each entry is an object that requires a `language` field and can contain any other navigation fields.

0 commit comments

Comments
 (0)