Add image alt-text (from title).
authorMike Taylor <mike@indexdata.com>
Tue, 18 Feb 2014 16:56:03 +0000 (11:56 -0500)
committerMike Taylor <mike@indexdata.com>
Tue, 18 Feb 2014 16:56:03 +0000 (11:56 -0500)
Whole record is hot.
No use of bold for captions.

examples/htdocs/images.html

index c3bf6bc..e58b00e 100644 (file)
@@ -9,17 +9,17 @@
     <script id="mkwsTemplateSummary" type="text/x-handlebars-template">
       <a href="#" id="{{_id}}" onclick="{{_onclick}}">
         {{#each md-thumburl}}
-         <img src="{{this}}"/>
+         <img src="{{this}}" alt="{{../md-title}}"/>
         {{/each}}
        <br/>
-       <b>{{md-title}}</b>
-      </a>
+       {{md-title}}
       {{#if md-title-remainder}}
         <span>{{md-title-remainder}}</span>
       {{/if}}
       {{#if md-title-responsibility}}
        <span><i>{{md-title-responsibility}}</i></span>
       {{/if}}
+      </a>
     </script>
   </head>
   <body>