View Single Post
Old 10-08-2010, 07:42 AM   #2
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ebook copy for formatting.xhtml</title>
<link rel="stylesheet" href="../Styles/template.css" type="text/css" />
<style type="text/css">
/*<![CDATA[*/
span.sgc-1 {font-family: Arial; line-height: normal; font-size: medium;}
/*]]>*/
</style>
</head>
<body>
<div class="generated-style" id="ebook-copy-for-formatting">
<p class="basic-paragraph basic-paragraph-override" xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:lang="en-gb"><span class="no-style-override-2 sgc-1"><img alt="cover" src="../Images/ebook%20cover.jpg" /></span></p>
</div>
</body>
</html>
All <img> tags need to have an alt attribute that gives the text that would be read out by a screen-reader. The standard requires this to promote accessibility for the visually-impaired. The text for alt can be blank
(alt="") for images which are purely stylistic flourishes, but you're encouraged to use meaningful text where appropriate.
charleski is offline   Reply With Quote