Content deleted Content added
→History: Making changes per Talk:Alt attribute/GA1 including minor grammar fixes and replacing a reference |
Rewording lede |
||
Line 4:
{{short description|Alternative text that appears when a HTML element cannot be rendered}}
{{lowercase|alt attribute}}
The '''alt attribute''' is the [[HTML attribute]] used in [[HTML]] and [[XHTML]] documents to specify alternative [[Plain text|text]] ('''alt text''') that is to be
The alt attribute is used to increase accessibility and user friendliness. The use of the alt attribute for images displayed within HTML is part of W3C's [[Web Content Accessibility Guidelines]] (WCAG). [[Screen reader]]s and [[text-based web browser]]s read the alt attribute in place of the image. The text within the alt attribute substitutes the image when [[copy-paste]]d as text and makes images more [[Machine-readable data|machine-readable]], which improves [[search engine optimization]] (SEO).
|