Make WordPress Core

Opened 2 years ago

Closed 8 months ago

#55497 closed defect (bug) (wontfix)

Twenty Twenty-Two : H5 and H6 headings have the same font size

Reported by: priyankkpatel's profile priyankkpatel Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords:
Focuses: Cc:

Description

Working on the new Twenty Twenty-Two theme, I found that the H5 and H6 heading are having same font-size e.g. 18px.

H6 heading should be smaller in size than H5.

Attachments (1)

55497.1.diff (408 bytes) - added by priyankkpatel 2 years ago.
Theme.json updated to serve different sizes for h5 and h6

Download all attachments as: .zip

Change History (4)

#1 @kjellr
2 years ago

Hi there! This is actually an intentional design decision. The difference in hierarchy between the H5 and H6 is communicated through font weight, not font size.

https://cldup.com/h85aO6amkx.png

@priyankkpatel
2 years ago

Theme.json updated to serve different sizes for h5 and h6

#2 @priyankkpatel
2 years ago

Hi @kjellr ,
Thanks for the comment. That make sence.

#3 @sabernhardt
8 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

I'm closing the ticket because it was a design decision.

Similarly, Twenty Twenty-Three has the font-weight difference instead of font-size (#57514). If you go to Styles in the site editor, you could modify the font sizes for heading elements as you like.

Note: See TracTickets for help on using tickets.