Skip to content

Commit

Permalink
Update Rule “do-you-use-text-rather-than-images-where-appropriate/rule”
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisschultzssw committed Jan 29, 2024
1 parent e0a2538 commit 0875327
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions rules/do-you-use-text-rather-than-images-where-appropriate/rule.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,36 @@
---
type: rule
archivedreason:
title: Do you use text rather than images where appropriate?
guid: d1c7e65e-61de-44db-8f7d-e9f95f8d4e6c
uri: do-you-use-text-rather-than-images-where-appropriate
created: 2015-10-13T00:08:16.0000000Z
authors: []
related: []
redirects: []

created: 2015-10-13T00:08:16.000Z
archivedreason: null
guid: d1c7e65e-61de-44db-8f7d-e9f95f8d4e6c
---

Using text rather than images has multiple advantages:


* Downloads faster - a users patience extends to about 7 seconds.
* Cheaper to update - a simple find and replace.
* Discoverable by search engines - if people can't get to your site, what's the point of it being there?
* Readable on an iPhone - Images will either be resized or require scrolling, which would create difficulties for readability.

<!--endintro-->

```
<img src="Images/Heading_Welcome.gif>
```

<!--endintro-->
&lt;img src="Images/Heading\_Welcome.gif"&gt;Figure: Bad Example - using image for text header&lt;h1&gt;Welcome to My Page&lt;/h1&gt;Figure: Good Example - this text can be easily rendered by the browser and recognized by search engine

::: bad
Bad Example - Using image for text header
:::

```
<h1>Welcome to My Page</h1>
```

::: good
Good Example - This text can be easily rendered by the browser and recognized by search engine
:::

0 comments on commit 0875327

Please sign in to comment.