Skip to content

Commit

Permalink
Update list of elements to check for
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Apr 21, 2021
1 parent 9ca5a52 commit a6947c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/full-site-editing/templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ function gutenberg_the_skip_link() {
?>
<script>
( function() {
var skipLinkTarget = document.querySelector( 'main' ),
var skipLinkTarget = document.querySelector( 'main, .wp-block-post-title, .wp-block-query-loop, .wp-block-post-content, .entry-content' ),
parentEl,
skipLinkTargetID,
skipLink;
Expand Down

0 comments on commit a6947c4

Please sign in to comment.