AssistantNMS / AssistantNMS/WebApp
Accessibility: Use proper semantic HTML
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 20
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
## Issue
On the item pages, the name, subtitle and description are all heading tags.
Subtitle and Description are not headings.
Also these pages do not have an `h1`.
## Suggestion
Use `h1` for the item name.
Use a `
` or `
` tag with `font-size: 1.6rem` as subtitle.
Use a `
Use a `
` tag with `font-size: 1rem` as description.
For multi-line descriptions, use `` with `display: block` to emulate a `
`, while conforming to the HTML spec.
The tooltips on the keyboard bindings can probably also be done with ``.
Elements like `
The tooltips on the keyboard bindings can probably also be done with ``.
Elements like `
` and `
` are not permitted inside `
` itself.
See [Content Categories on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Content_categories)
Here's an example of what I mean:

Contributor guide
Assessment
This issue has not been assessed yet.