WordPress.org

Making WordPress.org

Opened 3 years ago

Closed 18 months ago

#1915 closed defect (maybelater)

Heading level for Changelog entries

Reported by: GaryJ Owned by:
Milestone: Priority: low
Component: Plugin Directory Keywords: needs-patch
Cc:

Description

In the new plugin repo, the plugin name is h1 (good), the section headings such as Description, Screenshots, Reviews, Changelog are h2 (good), and each Review title is a h3 (good).

However, each Changelog entry heading (i.e. version + date) jumps straight to a h4, despite the parent heading being a h2.

For the sake of structured hierarchical headings for screen reader users, I'd expect these change log entries to have h3 headings, even if it also had a class to style it as a smaller font (unnecessary IMO, but it's a better solution than skipped headings).

Attachments (1)

changelog-with-h3-h4-comparison.png (60.7 KB) - added by GaryJ 3 years ago.
Highlights the issue, with the v3.0 release edited in browser dev tools to display as a h3 instead of the default h4.

Download all attachments as: .zip

Change History (3)

@GaryJ
3 years ago

Highlights the issue, with the v3.0 release edited in browser dev tools to display as a h3 instead of the default h4.

#1 @dd32
3 years ago

  • Keywords needs-patch added
  • Priority changed from normal to low

This is an unfortunate side effect of the markdown parsing, which doesn't allow us to easily change the header style for elements - it's based on what heading level was specified in the markdown.

For screen readers, we shouldn't skip levels, but due to the complexity i'm lowering the priority.

#2 @tellyworth
18 months ago

  • Resolution set to maybelater
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.