[wp-trac] [WordPress Trac] #56228: Add main H1 heading in the site-editor page

WordPress Trac noreply at wordpress.org
Fri Jul 15 14:07:42 UTC 2022

#56228: Add main H1 heading in the site-editor page
 Reporter:  afercia        |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Editor         |    Version:
 Severity:  normal         |   Keywords:  has-screenshots
  Focuses:  accessibility  |
 See related issue on the Gutenberg repository:

 In the Site Editor page, the main H1 heading is a JavaScript component. It
 renders after the Navigation sidebar and after the toolbar in the header.
 See first attached screenshot.

 On the PHP side, `site-editor.php` doesn't output any heading.

 This isn't ideal, as the main H1 heading should be the first thing in the
 `main` content. See

 This is also inconsistent with the way the main H1 heading is output in
 the ''Post'' editor, where `edit-form-blocks.php` does output the main H1

 Additionally, when JS is off:
 - the Post editor does show the H1 heading and a notice, see second
 - the Site editor doesn't show any content (besides the WP admin menu),
 see third screenshot

 I'd like to propose to improve consistency and make the Site editor page
 output the main H1 and the no-js notice. This way consistency and user
 experience would be improved. More importantly, the main H1 would be
 placed in a more appropriate place.

 Other headings in the Site Editor will be improved in

Ticket URL: <https://core.trac.wordpress.org/ticket/56228>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list