-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Skip to content link is added even if theme includes a skip to content link #32433
Copy link
Copy link
Closed
Closed
Copy link
Labels
[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
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:
My "skip to content" link:
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.

