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

WordPress Trac noreply at wordpress.org
Fri Jul 15 14:37:14 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                     |  Resolution:
 Keywords:  has-screenshots has-patch  |     Focuses:  accessibility
---------------------------------------+------------------------------
Changes (by afercia):

 * keywords:  has-screenshots => has-screenshots has-patch


Comment:

 [attachment:"56228.diff"]
 - adds a visually hidden H1 heading at the beginning of the main content
 - when JavaScript is off, the page will display a heading and a no-js
 notice
 - adds a filter for the no-js notice message

 This is basically the same pattern already used for the Post Editor page.

 This change should be coordinated with the changes for Gutenberg:
 - There are some minor CSS changes that needs to be done on the Gutenberg
 side.
 - The current H1 will be changed to H2.

 See https://github.com/WordPress/gutenberg/issues/42373

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


More information about the wp-trac mailing list