# 主题地图中标题的误用

**URL:** <https://meta.discourse.org/t/misuse-of-headings-in-the-topic-map/100873>\
**Category:** Bug\
**Tags:** topic-map\
**Created:** [2018年十月30日 14:49 UTC](https://meta.discourse.org/t/misuse-of-headings-in-the-topic-map/100873 "2018-10-30T14:49:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Campbell](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@Matt\_Campbell](https://meta.discourse.org/u/Matt_Campbell)\
**Post date:** [2018年十月30日 14:49 UTC](https://meta.discourse.org/t/misuse-of-headings-in-the-topic-map/100873/1 "2018-10-30T14:49:18Z")

</div>

The topic map uses `h4` headings for key words such as “created”, “likes”, and “replies”. This is not what headings are for. This is an accessibility problem, because it confuses screen reader users. I suggest replacing these headings with spans with a class that gives the desired style.

---

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [2018年十一月2日 12:10 UTC](https://meta.discourse.org/t/misuse-of-headings-in-the-topic-map/100873/3 "2018-11-02T12:10:56Z")

</div>

That should do it:  
[https://github.com/discourse/discourse/commit/5cd055fd306389eb7014b0c7c82821b0b42a7750](https://github.com/discourse/discourse/commit/5cd055fd306389eb7014b0c7c82821b0b42a7750)

Thanks for bringing this to us.

---

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [2018年十一月2日 12:10 UTC](https://meta.discourse.org/t/misuse-of-headings-in-the-topic-map/100873/4 "2018-11-02T12:10:59Z")

</div>


