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

WordPress Trac noreply at wordpress.org
Fri Feb 3 17:23:13 UTC 2023


#56228: Add main H1 heading in the site-editor page
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:  joedolson
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  6.2
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch            |     Focuses:
  coordinate-with-gutenberg needs-refresh        |  accessibility
-------------------------------------------------+-------------------------

Comment (by alexstine):

 Actually, I do not believe this should be implemented in PHP due to the
 fact JS is not yet initialized and Gutenberg built-in region navigation
 does not work until the application receives focus. I think it is okay to
 add the no JS heading via PHP but the actual heading 1 should be added in
 React so the proper region navigation hooks get initialized in React. This
 is currently a problem in the post editor that could use a follow-up TRAC
 ticket/issue to rethink our approach..

 Thanks.

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


More information about the wp-trac mailing list