# Accessibility: Category page should have H4 or LI for category names

**URL:** https://meta.discourse.org/t/accessibility-category-page-should-have-h4-or-li-for-category-names/77893
**Category:** Feature
**Tags:** accessibility
**Created:** [12 januari 2018 om 21:49 UTC](https://meta.discourse.org/t/accessibility-category-page-should-have-h4-or-li-for-category-names/77893 "2018-01-12T21:49:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kevinrobinson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kevinrobinson/32/120056_2.png) [@kevinrobinson](https://meta.discourse.org/u/kevinrobinson)
#### Post date: [12 januari 2018 om 21:49 UTC](https://meta.discourse.org/t/accessibility-category-page-should-have-h4-or-li-for-category-names/77893/1 "2018-01-12T21:49:27Z")

</div>

This is split out from the master accessibility thread: [Accessibility audit and shepherd for making improvements](https://meta.discourse.org/t/accessibility-audit-and-shepherd-for-making-improvements/66620/16).

> These are span tags, they should be LI or H4 tags.

This is the relevant part of the UI on the [categories page](https://meta.discourse.org/categories):

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/9/b9ed059e96a9dfadb4b053da4ff43a6401ec9c1c.png)

Here’s console code to see the relevant HTML:

```plaintext
> document.querySelectorAll('span.category-name')[0]
=> <span class="category-name">support</span>

```

These seem like semantically meaningful headers, and visually that’s really clear. Rich’s suggestion is that these should either be headers (perhaps `<h4>` or to restructure the page to use `<li>` to indicate that this is a list of categories).

Here’s the relevant code: [discourse/app/assets/javascripts/discourse/templates/components/category-title-link.hbs at 5b590b96373a8c2f1f211aef63bc8317f1cb776a · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/5b590b96373a8c2f1f211aef63bc8317f1cb776a/app/assets/javascripts/discourse/templates/components/category-title-link.hbs#L6)
