| advertise add site services publishers database health videos | ![]() | about toolbar stats live show health store more stuff JOIN/LOGIN |
Doctor Eugene Lipov, M.D. - Biography and Wikipedia Entry eugenelipovmd.org | Tubal Reversal Information on Wikipedia tubal-reversal.net | wrangler Discount wheelchairs, chairs la wikipedia wheel chair electropedicbeds.com |
"WP:ALT" redirects here. You may also be looking for Wikipedia:Alternative outlets, Wikipedia:Main Page alternatives, Wikipedia's policy on alternate accounts, or WikiProject Alternative music.
Alternative text (alt text) is used as a replacement for an image, whenever the image cannot be seen. Every visible image should have alt text, unless the image is purely decorative, that is, it has no function and is used only for visual formatting or decoration.[1] The alt text should be concise and should emphasize the image's most important visual aspects: it should summarize the essence of the image rather than describing every detail. Its main audience consists of visually impaired readers who use assistive technology such as screen readers. It should also make sense in a graphical browser with images turned off, and it should fit with the surrounding text when viewed with a text-only browser. In Wikipedia, images typically act as links and therefore need alt text, which is specified with an "
For this example, taken from the lead of the Flag article, a screen reader might say "Link in the sky flies a red flag with a white cross whose vertical bar is shifted toward the flagpole. The oldest link national flag design still in use is link Denmark's 13th-century link Dannebrog." If this Wiki markup lacked alt text, the screen reader might say "file colon Dannebrog dot jay pee gee" in place of the alt text, thus giving no clue about the flag's appearance. Alt text is not the same as a caption. Alt text is meant for those who cannot see the image, whereas the caption is intended for all readers. In general, alt text summarizes the image's appearance, whereas the caption helps all readers interpret the image, to focus on its most essential elements and to connect it with the article text. A helpful way to think about alt text is to imagine that the web page is a script for an audio recording, and that the page's alt text is the part of the recording that describes the image to someone who cannot see the image.
[edit] GoalAlternative text is a working substitute for an image, for those who cannot see it. In contrast, captions are written for everyone. Alt text is hardly ever a perfect substitute for an image, or an exhaustive description of it; the intent is merely that alt text should be functional, in that it should be much better than nothing for its readers. Browsers that display alt text normally do so before the caption, so it is good practice to put alt text before the caption in the Wikipedia image syntax. Here is an example taken from the lead of Ptolemy II Philadelphus, with lines folded to make it fit here: A 3rd century BC coin depicts the co-rulers of Ptolemaic Egypt: Ptolemy II Philadelphus (front), and his sister and wife Arsinoe II. The Greek inscription adelphon means "of siblings".
Alt text is useful, for example, when someone:
Visually impaired readers are the most important audience for alt text. Absent or low-quality alt text is one of the top causes of frustration for blind users of the web.[2] A 2008 study of blind access to Wikipedia listed lack of alt text as the first obstacle.[3] Like sighted readers, visually impaired readers have differing needs and text should be written with these needs in mind. For example, relatively few of these readers are blind from birth: the vast majority lost their sight via conditions such as age-related macular degeneration, and this majority understands common visual terms well. Alternative text is also used for other purposes. For example, Google's image search uses it to help return appropriate images. Finally, good choice of alternative text and captions makes life easier for people who are viewing the source of an article, either when editing it, or in a diff, or in Wikipedia's internal search.[4] For all these reasons, the Wikipedia image use policy recommends alt text for Wikipedia images. Like all aspects of writing an article, editorial judgment is required in writing alt text. This page's sections contain guidelines for this editorial judgment. The intent is to disseminate good practices for accessibility, and to provide help and guides for accessibility, as an adaptation of standard authoring tools accessibility guidelines for the user-generated content in Wikipedia articles.[5] These guidelines apply to all images delivered to the user's browser, including images that are in tables and galleries, images generated from templates, and video. Although audio also needs alt text, it is not specifically addressed here. [edit] EssenceAlt text should communicate the essence of the image, that is, the image's overall visual aspect, gist, or gestalt. The essence of an image can include any of its visual aspects, including composition, style, and iconography. Alt text's primary job is to serve as a working substitute for the image, and this job is not done unless the image's essence is conveyed to readers who cannot see the image but can read the alt text in combination with the caption and adjacent text. Alt text should start by describing the most striking aspects of the image, and should then fill in any important details, roughly in the order that a first-time viewer of the image would notice the details. Because alt text is commonly read aloud, and can be interrupted with the remainder skipped if the reader does not want to hear more, text near the start is more likely to be heard.
[edit] PortraitsAlt text for a portrait should start with which part of the person is illustrated, and then give sex, apparent age, or other immediately noticeable major attributes. It can then list any details that are important or obvious at second glance. Chance details, such as which direction a person is facing, are often not worth mentioning as they convey little information about the person's appearance. Use neutral wording when describing people's appearance, taking particular care when describing living persons; for example, race and physical deformities can be sensitive areas. The first image in an article devoted to a person typically has somewhat more detail than usual, to convey an idea of what the person looks like; later images in the same article can assume the reader has read the first image's alt text and can be briefer.
[edit] DiagramsAlt text for diagrams should convey the essence of the information being diagrammed, such as the relationships among objects being diagrammed. It should not contain relatively unimportant decorative details. If a diagram contains prominent text, the alt text should transcribe the text.
[edit] MapsLike diagrams, maps should have alt text that conveys the essence of the useful information conveyed to the reader, instead of arbitrary details like colors or orientation. If the rest of the article assumes knowledge of the map, its alt text may need to be fairly detailed; if not, the alt text can merely give an overview of what the map says, perhaps referring to adjacent text as described in Placeholders.
Monmouth shown within Wales Some templates such as {{Location map}} generate alt text automatically by default, but typically the default is not that useful for visually impaired readers, and it is helpful to override the default with an explicit " {{Location map |Wales2 |lat=51.80893 |long=-2.71938 |label=Monmouth |position=left |alt=Located a bit north of Wales's southeast corner, on the border with England. Wales is the center west of Great Britain. |caption=Monmouth shown within [[Wales]] }} [edit] GalleriesImage galleries are sometimes appropriate for articles, as described in the image use policy for galleries. Unfortunately, the The {{Image gallery}} template is a straightforward substitute for <!-- Do not use this example, as it lacks alt text. --> <gallery perrow=3 style="float:right; margin:0 3px 0 1em;"> File:Banksia prionotes bark.jpg|Typical smooth, mottled light grey bark File:Banksia prionotes leaf.jpg|Leaves, upper (left) and lower (right) faces File:Banksia prionotes inflorescence.jpg|Inflorescence, mid-anthesis File:Banksia prionotes young follicles email.jpg|Developing infructescence File:Banksia prionotes mature cone.jpg|Mature infructescence after seed release File:Banksia prionotes seed.jpg|Seed </gallery> You can verify that this example does not work properly by asking your browser to display the properties of the images to the right. Their alt text is blank, and a screen reader will say something like the following for each image:
<div style="float:right; width:460px;"> {{Image gallery |width=120 |lines=3 |Banksia prionotes bark.jpg|Closeup of a tree trunk. The bark has mottled patches of very light grey on a background of slightly darker grey.|Typical smooth, mottled light grey bark |Banksia prionotes leaf.jpg|Two long thin leaves with serrated margins, blunt tips, prominent light brown ridribs and long petioles. The leaf on the left shows its dull dark green upper surface. The leaf on the right shows its lower surface, which is light green, with a network of veins traced in light brown.|Leaves, upper (left) and lower (right) faces |Banksia prionotes inflorescence.jpg|An acorn-shaped head of flowers. The upper part is a tall dome of woolly white buds. The lower part is wider, and bright orange; it consists of bright orange styles and limbs sticking out from a background of open white buds.|Inflorescence, mid-anthesis |Banksia prionotes young follicles email.jpg|An elongate upright brown cylinder covered in a regular pattern of small white dots. Embedded in it are about thirty woolly white follicles, each shaped roughly like an American football, but with a short hooked point at one end, and a horizontal seam.|Developing infructescence |Banksia prionotes mature cone.jpg|A roughly egg-shaped red-brown woody structure growing at the end of a branch. It is covered in small grey spikes, and has about ten light-grey woody follicles embedded in it. Each follicle has opened unevenly, with one side barely open, and the other open wide. At the wide end of each follicle there is a pointed beak where the split has deviated from the seam.|Mature infructescence after seed release |Banksia prionotes seed.jpg|A wedge-shaped structure with a small notch along one side. The half nearest the point is thick and rigid, grey with a pattern of black zig-zags on it. The rest of the wedge is red-brown and paper-thin.|Seed }} </div> You can verify that this example works by displaying its images' properties; they all have alt text. A screen reader will say something like the following for each image:
[edit] Videos and animationsAlt text for a video or animation should briefly describe the entire work, not the still image that displays by default. As a full description typically requires too much length for alt text, it is good practice to put it in the Summary section of the file page; see Brevity. Some readers are hearing-impaired and others use browsers without audio, so the alt text should not assume that the reader can hear a video. Prominent and brief words in the audio can be transcribed in the alt text, and it is helpful to provide a full transcript of the audio in the video's file description page.
[edit] MathAlt text can be specified for a math-mode formula as an attribute of the
generates a formula
contains no " where the alt text is simply the markup:
User preferences can affect how math is displayed. Depending on these preferences, simple formulas may be rendered as text instead of as an image. For example, Alt text is not used with math formulas that are always rendered as text, such as formulas generated by the {{math}} template. [edit] ChemistryIf an image contains a simple molecular formula such as "CH4" that cannot be copied directly into alt text because it uses HTML subscripts and superscripts, it can be represented in alt text using the typographically simpler "CH4" or by the common name "methane". IUPAC nomenclature is a standard way to textually describe a complicated structural formula. There is typically little point to reproducing just the naive visual aspect of such a formula, as it would not convey the image's essence to readers who know little of chemistry, and it would hurt readers who know something of the subject. This is a partial exception to the general rule that alt text should be verifiable by a non-expert; in chemical formulas the reader can be presumed to understand the syntax of the formulas even if expertise in the article's topic is not presumed.
[edit] ContextAlt text depends heavily on context. Alt text that may be good for an image's occurrence in one article may not be appropriate for a different occurrence. Whether a visual aspect or detail is important enough to appear in alt text depends on the context. For example, the alt text of the image at right might focus on the color of the officer's uniform in Blue, on the officer's hat in Peaked cap, and on the stone lion in Public art. Although alt text can use lively language to describe the essence of the image, it should not creatively interpret the image, suggest non-obvious meanings, justify the image's importance or significance, or describe its provenance or how it was created. Those roles are part of the image's context, and they belong to the caption or other nearby text, because sighted readers should see them too. [edit] FlowAlt text should make sense in the absence of the image. It should sit comfortably in the flow of the article and be punctuated correctly. One way to review an article with screen readers in mind is to read it aloud, including alt text and captions, listening for unwanted repetitions and awkward juxtapositions of sounds. A helpful way to think about alternative text is to imagine that the Web page text, including all alternative text, is the script for a radio broadcast. Your listeners are not necessarily blind, so they may be interested in hearing about what something looks like. But they cannot possibly see any images via radio, so referring to an image itself will sound silly. If you write your alternative text with this in mind, it should work well. [edit] PunctuationAlt text should be punctuated much as captions are, so that it is read naturally by a screen reader. Sentences should be capitalized and terminated with periods as usual. If the alt text is a non-sentence, such as "White flag with central red circle", it should not have a final period. If it is a non-sentence followed by a sentence, the non-sentence should be followed by a period to separate it from the sentences: for example, "Closeup of inflorescence. A bee feeds on orange opened flowers." [edit] Proper namesAlt text typically should not name people or objects in an image. When in doubt, assume that an entity is not iconic, and needs to be named in the caption or nearby article text. For example, Vladimir Putin and the Guggenheim Museum Bilbao are both famous, but they are not so famous that one can reasonably expect an English Wikipedia reader to know what they look like, so alt text should describe their appearance rather than give their names, and they should be named in the caption or other text. In the following examples, a typical reader cannot tell merely from viewing the first image that it is of the SMS Helgoland, or that it is carrying out maneuvers, or that it is in the German Bight, and in the second image typical English-language readers are not expected to know what Putin looks like.
A few people and things are so famous that one can reasonably expect a typical reader of English Wikipedia to know what they look like. Examples include Big Ben, the Eiffel Tower, the White House, Gandhi, Jesus, Lincoln, Mao, and Napoleon. However, the first image in an article devoted to a famous person or thing should provide a relatively detailed visual description of it, as that is the most plausible place where a visually impaired reader might want to know details about appearance.
If the same person or object appears in many images of an article, later images' alt text can assume that the reader has already read the first image's alt text and caption. For example, if in the Greta Garbo article the first image's alt text describes Garbo's appearance in some detail, alt text for images later in the article can simply say "Garbo" instead of repeatedly describing her appearance. However, in other articles a typical Wikipedia reader cannot be expected to know what Garbo looked like, so an image of her should typically not have Garbo's name in its alt text.
[edit] BrevityAlt text should be concise, so that it does not burden the visually impaired reader with unnecessary text. It should not summarize unimportant details. As it is not meant to be a unique identifier for an image, alt text typically does not supply enough information to characterize an image unambiguously. The best length for alt text depends on the image and its context. Although images of complex subjects may need long descriptions, alt text should be considerably shorter than a hundred words for all but the most detailed images. Another rule of thumb is that an image's alt text is probably too complicated if it takes more than five minutes to write.
Some images and media files may benefit from full descriptions that are too long for alt text. Examples include detailed graphs and maps, complicated diagrams, and longer videos. For such a file it is good practice to put a longer description in the Summary section of the file's page, with a brief summary of this description in the alt text. For example, Image:Pavel Bure in Canucks uniform.jpg contains a long description similar to the "Flawed alt text" shown in the previous example. MediaWiki does not support the HTML longdesc attribute that was designed for these longer alternative descriptions. [edit] RepetitionAlt text should minimize any repetition of the caption or other nearby text. A screen reader will say both the alt text and the caption, and any repetition will not be helpful. An image's caption typically should focus on explaining or identifying the image, and say little about visual appearance, which is obvious to a sighted reader. Because alt text should focus only on the visual appearance, alt text and caption typically do not overlap. If the caption or other nearby text does describe a purely visual aspect of an image, that aspect should normally be omitted from the alt text.
[edit] PlaceholdersIn an article that focuses heavily on an image, the caption or nearby text may already sufficiently describe an image's visual appearance; in such cases the image's alt text may be as simple as "See caption." or "See adjacent text."
[edit] Phrases to avoidFor brevity, alt text should not mention the fact that it substitutes for an image, as this substitution is already obvious to the reader. For example, avoid phrases like "photograph of", "diagram illustrating", and "showing". Typically it is relatively unimportant whether an image is color or black and white, and that detail can be omitted as well. Normally the image file itself is irrelevant to the article. Thus, alt text should not mention:
Like article text, alt text should avoid peacock terms such as "awesome" and "beautiful".
[edit] ConstraintsSome constraints on alt text are imposed by Wikipedia policies and guidelines on neutrality and verifiability. [edit] NeutralityWikipedia articles use a neutral point of view, and one way to accomplish this in article text is to eliminate descriptive and interpretive language. However, this type of language is often exactly what a blind person needs in order to visualise or comprehend an image. Alt text should be descriptive as well as neutral, and it need not be dull and superficial to achieve these goals. A clear and vivid interpretation of the image serves the visually impaired reader better than a dry and colorless recital of surface detail.
[edit] VerifiabilityAlt text should be verifiable. Typically, it should be verifiable by a non-expert reader who is looking only at the image, and should not need to be supported by a reliable source. Any claim likely to be challenged should be either removed, moved to the caption or other nearby text, or supported by a reliable source there. Since alt text cannot contain footnotes and cannot easily cite sources, any citations needed to support the alt text should be placed in the caption or other article text. As with all other parts of Wikipedia articles, original research should be avoided when writing alt text. As a corollary of verifiability, alt text should describe an image accurately and precisely. Carefully inspect an image when writing its alt text: do not mistake a blob or a scratch on the image for an object, and do not call an image a drawing if it is actually an engraving or a woodcut. If you are describing something you know little about, such as period hairstyles or clothing, it is often helpful to consult a Wikipedia article on the subject, or to ask for help on the article's talk page. This is particularly important for symbolic objects; for example, saying that an angel is giving a saint a "small branch" or "a bunch of leaves" is significantly less helpful than saying the angel is giving a "palm frond", as palm fronds have a special significance in that context.
[edit] LimitationsAlt text is limited by the constraints of what Wiki syntax and HTML can specify, as well as by limitations of screen readers and other browsers. [edit] MarkupAlt text cannot contain wiki or HTML markup. For example, the following is not valid alt text:
Neither " [edit] NewlinesAlt text should be all on one line, to avoid a MediaWiki bug. In other words, do not put a newline in alt text. For example: <!-- This does not work. --> [[Image:Example.png|20x20px|alt=Example image]] This generates an image " [edit] TextWhen an image focuses on text, its alt text should normally contain that text as accurately as is feasible, even if the text contains unusual characters. This benefits people whose screen readers can handle the text. Some screen readers cannot handle obscure Unicode characters, and either render them as "?" or ignore them entirely; therefore, when it is easy, word the alt text so that it makes some sense even if the unusual characters are ignored or read aloud as "?". In alt text for these images, omit details such as color or font unless the images focus on these details.
Normally alt text should avoid tricky typographical constructions that are likely to confuse screen readers. ASCII constructions like "1/2" are typically read aloud as "1 slash 2" rather than as the more helpful "one half". Abbreviations like "m" for "meter" are less helpful when read aloud, and are often best avoided. The non-breaking space "
[edit] When to specifyFor accessibility, every image should either have alt text or should lack a link. An image normally needs alt text so that a visually impaired reader knows what the image looks like or what will happen when the image is clicked. In the typical case, where a Wikipedia image is a [edit] Defaulting to captionA plain picture (i.e., not a [edit] LinksSee also: Wikipedia:Images linking to articles Some non-
[edit] Purely decorative images
A purely decorative image is one that has no function and conveys no additional useful information because it is used only for visual formatting or decoration. For example, in the table of 2006 Olympics figure skaters at right, each flag image is purely decorative because it conveys no useful information that is not already conveyed by the adjacent text that names the country; also, nothing happens when you click on the images. In Wikipedia markup, only plain pictures can be purely decorative; a A purely decorative image should not have a link or alt text, as they would clutter the voice output of a screen reader. Screen readers silently ignore images that lack alt text and links, so that they do not clutter the interface for visually impaired readers. Icons and other images without links should not have alt text if the images are purely decorative.[7] Use "
[edit] AppearanceHere is an example image with alt text, and how it might appear to various browsers. The context is the lead infobox of Philitas of Cos.
The phrase "Bronze head of bearded man with furrowed brow and unruly hair" is the text that will be rendered in place of the image.
A screen reader might say the following words (the alt text is underlined):
Without the alt text, the same screen reader might say the following, which is less useful:
The Philosopher (c. 250–200 BC) from the Antikythera wreck illustrates the style used by Hecataeus in his bronze of Philitas. This shows how the image is displayed in your browser. If you hover over the image with your mouse, many browsers display a tooltip containing the image's title attribute, which is computed by removing Wiki markup from the caption. In this example, the title text is "The Philosopher (c. 250–200 BC) from the Antikythera wreck illustrates the style used by Hecataeus in his bronze of Philitas.", without the italics or wikilink of the caption. Internet Explorer 7 and earlier versions display alt text instead of title text when you hover; this bug was fixed in Internet Explorer 8.
Bronze head of bearded man with furrowed brow and unruly hair The Philosopher (c. 250–200 BC) from the Antikythera wreck illustrates the style used by Hecataeus in his bronze of Philitas. This shows what might be displayed in a web browser with images turned off. Many modern browsers allow users to turn off images (for example, if they are using a low-bandwidth connection). The alt text is often rendered in place of the image. Here, the phrase serves as a useful replacement for the image. [edit] Writing the textOften the best person to write alt text for an image is the person who added the image to the article, and who presumably knows the image's context. When adding an image, take a couple of minutes to describe it in the context of its caption and adjacent text. It can be helpful to read the text aloud in the order it appears in the Wiki markup (with alt text before caption), to catch unwanted repetition and awkward transitions. Check the article with the Altviewer tool, a Wikimedia Toolserver tool that displays all the images in a Wikipedia page, next to their alt text. Look for alt text that is missing or cryptic or too long, and for alt text that is a near-duplicate of the caption. At times the Altviewer's results are delayed, so it may help to check an article a day after editing it heavily. If an image is generated by a template, you may need to change the template to cause it to generate proper alt text. The simplest case is a template like {{Infobox}}, which has parameters like " If you're still unsure about the best alternative text for an image, or how to change a template, please leave a note on this article's talk page, and someone will help you out. [edit] HistoryUntil 2008, the alt text of an image was automatically the same as its caption, an approach with two drawbacks. First, this meant that the image caption was read twice by the screen reader to the listener, once for the alt text and once for the caption itself. Second, captions do not always describe their image, but rather describe its meaning for the reader. A new system was introduced in October 2008.[8] It allows Wikipedians to specify the image alt text independently of its caption. The caption is an unnamed parameter in the Image syntax as before; the alt text is specified by an " Wikimedia bug 19906 has proposed that the default alt text for an image be specified on that image's page, to simplify the job of specifying alt text for images that are used in several locations. [edit] See also
[edit] Notes
[edit] References
|
| ↑ top of page ↑ | about thumbshots |