Skip to content

Heading level structure issues in Skosmos 3 #1801

@osma

Description

@osma

URL address of the page where you encountered the problem

http://localhost/Skosmos/

Description of the problem

I reviewed the heading level structure of all currently implemented (main branch) Skosmos 3 page types. I mostly used the WAVE plugin in Firefox, which reports issues related to heading levels (but it won't complain if there are more than one h1 elements, because it's not a strict rule to avoid it).

The general requirements that make sense for Skosmos are:

  1. There should be one, and only one, H1 element on a page
  2. Heading levels should not be skipped (e.g. h1, h2, h3 is OK, but h1, h3 or h1, h2, h4 is not)

Here is an overview:

  • landing: no issues (uses h1, h2, h3)
  • vocab-home: two h1 elements instead of one
  • error: no headings at all
  • global search results: no headings at all
  • vocab search results: no h1, but there are h2 and h4 headings, h3 is skipped
  • concept: no issues (uses h1, h2, h3)
  • about: no issues (uses h1, h2)
  • feedback: no issues (uses h1, h2)

Things to fix:

  • vocab-home: make sure there is only one h1 element
  • error: add h1 element
  • global search results: add h1 element
  • vocab search results: add h1 element
  • vocab search results: make sure heading levels are not skipped

Additional information (e.g. screenshots) about the problem

The browser you used when the problem appeared

Firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions