Skip to content

Skip to content link is added even if theme includes a skip to content link #32433

@philbuchanan

Description

@philbuchanan

In a more recent version of Gutenberg (not sure entirely which version) a feature was added to automatically add a "skip to content" link. This link is added even if the theme includes a skip to content link itself. This results in a double "skip to content" link.

Expected behaviour

I would expect the auto "skip to content" link to be an opt-in feature. I'm also not currently aware of how to opt-out. But if I must opt-out, I will need to update every site I have created in the past. Since I create custom themes for each client, that will result in a lot of additional work.

Screenshots or screen recording (optional)

WordPress auto "skip to content" link:

Screen Shot 2021-06-03 at 10 01 46 AM

My "skip to content" link:

Screen Shot 2021-06-03 at 10 01 52 AM

WordPress information

  • WordPress version: 5.7.2
  • Gutenberg version: 10.7.1
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? No

Device information

  • Device: Mac
  • Operating system: macOS 11.4
  • Browser: Safari 14.1.1

Metadata

Metadata

Assignees

Labels

[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions