This reverts commit 72a5389459
.
This commit is contained in:
parent
210a295a87
commit
3fb3e3560e
|
@ -13,6 +13,8 @@ export default class TopicLink extends Component {
|
||||||
<a
|
<a
|
||||||
href={{this.url}}
|
href={{this.url}}
|
||||||
data-topic-id={{@topic.id}}
|
data-topic-id={{@topic.id}}
|
||||||
|
role="heading"
|
||||||
|
aria-level="2"
|
||||||
class="title"
|
class="title"
|
||||||
...attributes
|
...attributes
|
||||||
>{{htmlSafe @topic.fancyTitle}}</a>
|
>{{htmlSafe @topic.fancyTitle}}</a>
|
||||||
|
|
|
@ -17,6 +17,8 @@ export default function topicLink(topic, args = {}) {
|
||||||
|
|
||||||
return htmlSafe(
|
return htmlSafe(
|
||||||
`<a href='${url}'
|
`<a href='${url}'
|
||||||
|
role='heading'
|
||||||
|
aria-level='2'
|
||||||
class='${classes.join(" ")}'
|
class='${classes.join(" ")}'
|
||||||
data-topic-id='${topic.id}'>${title}</a>`
|
data-topic-id='${topic.id}'>${title}</a>`
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue