[wp-trac] [WordPress Trac] #57922: Changing class-wp-editor.php Insert/Edit Link header from H1 to H3 or other

WordPress Trac noreply at wordpress.org
Tue Mar 14 18:43:46 UTC 2023


#57922: Changing class-wp-editor.php Insert/Edit Link header from H1 to H3 or other
-------------------------------+-----------------------------
 Reporter:  donniewalden707    |      Owner:  (none)
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  6.1.1
 Severity:  normal             |   Keywords:
  Focuses:  ui                 |
-------------------------------+-----------------------------
 Hey there!

 I am using the wordpress core feature of having a blog page host all our
 posts. There is a modal in the class-wp-editor.php file located in the wp-
 includes directory.

 On line 1868 (or around there) a modal is shown with the title
 "Insert/edit link". This line is wrapped in an H1 which from an SEO
 standpoint is really unfortunate as google sees that as a title for the
 page. Even if you put an additional H1 on the page above the modal, google
 will still see it as the title of the page. And in our case that's every
 paginated blog page. I think it would be really beneficial for everyone to
 change that header to an h3 or lower. H2 is fine as well but I don't think
 it requires that level.

 Thank you!

 All the best,
 D

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


More information about the wp-trac mailing list