-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Rule “do-you-use-text-rather-than-images-where-appropriate/rule”
- Loading branch information
1 parent
e0a2538
commit 0875327
Showing
1 changed file
with
19 additions
and
8 deletions.
There are no files selected for viewing
27 changes: 19 additions & 8 deletions
27
rules/do-you-use-text-rather-than-images-where-appropriate/rule.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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--> | ||
<img src="Images/Heading\_Welcome.gif">Figure: Bad Example - using image for text header<h1>Welcome to My Page</h1>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 | ||
::: |