Skip to content

Commit

Permalink
fix: wrong image paths in HTML report
Browse files Browse the repository at this point in the history
Doh. Silly me.

Closes #56
  • Loading branch information
rdeltour committed Oct 6, 2017
1 parent 098990f commit 1ecf40f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/report/resources/report.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@
var tr = $("<tr></tr>");

var tdImage = $('<td class="image">'
+ '<a href="data/' + image['path'] + '">'
+ '<img src="data/' + image['path'] + '" '
+ '<a href="data/' + image['src'] + '">'
+ '<img src="data/' + image['src'] + '" '
+ 'alt="' + image['alt'] + '"/>'
+ '</a></td>');
tr.append(tdImage);
Expand Down Expand Up @@ -177,7 +177,7 @@
}
}
function populateA11yMetadataSummary(a11ymetadata, pubmetadata) {

var tbody = $("#a11y-meta-present tbody");
var list = $("#a11y-meta-missing");

Expand Down

0 comments on commit 1ecf40f

Please sign in to comment.