No Alt Text on QR Code (invalid XHTML)
http://validator.w3.org/ throws "required attribute "alt" not specified"
Example code produced:
<div id="wpmp_barcode_widget" class="widget wpmp_barcode_widget">
<h2 class="widget-title">QR Code</h2>
<img width='150' height='150' src='http://chart.apis.google.com/chart?chs=150x150&cht=qr&choe=UTF-8&chl=http%3A%2F%2Fshkspr.mobi%2Fblog%2Findex.php%2F2009%2F12%2Fdo-newspapers-get-the-mobile-web%2F%3Fwpmp_switcher%3Dtrue' />
<div class="clear"></div>
</div>
Should read
<img width='150' height='150' src='[...]' alt="QR Code - scan to visit our mobile site"/>
Happy to take suggestions on wording.
Example code produced:
<div id="wpmp_barcode_widget" class="widget wpmp_barcode_widget">
<h2 class="widget-title">QR Code</h2>
<img width='150' height='150' src='http://chart.apis.google.com/chart?chs=150x150&cht=qr&choe=UTF-8&chl=http%3A%2F%2Fshkspr.mobi%2Fblog%2Findex.php%2F2009%2F12%2Fdo-newspapers-get-the-mobile-web%2F%3Fwpmp_switcher%3Dtrue' />
<div class="clear"></div>
</div>
Should read
<img width='150' height='150' src='[...]' alt="QR Code - scan to visit our mobile site"/>
Happy to take suggestions on wording.
Leave a comment
Revision 190525.
wpmp_barcode.php Line 86 now reads
print "<img width='$size' height='$size' src='$url' alt='QR Code – scan to visit our mobile site' />";
wpmp_barcode.php Line 86 now reads
print "<img width='$size' height='$size' src='$url' alt='QR Code – scan to visit our mobile site' />";