Files
discourse/app/assets/javascripts/discourse/templates/components/latest-topic-list.hbs
Michael Howell aa65003087 Mark up the headers in the Categories page (#5494)
This should cause them to show up in the screenreader's heading map,
allowing non-sighted users to find both sections.
2018-01-18 16:47:50 -05:00

15 lines
375 B
Handlebars

<div class='table-heading' aria-role="heading" aria-level="2">
{{i18n "filters.latest.title"}}
</div>
{{#if topics}}
{{latest-topic-list-contents topics=topics tagName=""}}
<div class="more-topics">
<a href="/latest" class="btn pull-right">{{i18n "more"}}</a>
</div>
{{else}}
<div class='no-topics'>
<h3>{{i18n "topics.none.latest"}}</h3>
</div>
{{/if}}