Skip to content

Commit e02666f

Browse files
committed
test: add href to podcast seek buttons
The timestamp seek buttons used anchor tags without href attributes, relying solely on onclick handlers. Add href="javascript:void(0)" to make them valid anchors for html-proofer.
1 parent 36e259b commit e02666f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/functions/podcast-note.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(<a title="Play this segment of the podcast" onClick="seek('{{include.timestamp}}')" class="seek">{{include.timestamp}}</a><noscript>{{include.timestamp}}</noscript>)
1+
(<a href="javascript:void(0)" title="Play this segment of the podcast" onClick="seek('{{include.timestamp}}')" class="seek">{{include.timestamp}}</a><noscript>{{include.timestamp}}</noscript>)
22
{% if include.reference %}<a href="{{include.reference}}{{include.slug}}">
33
<i class="fa fa-link" title="Link to related content"></i>
44
</a>{% endif %}

0 commit comments

Comments
 (0)