Skip to content

Conversation

@emmadesilva
Copy link
Member

@emmadesilva emmadesilva commented Feb 2, 2024

Should fix a bug where crawlers like Google Bot thinks this is a part of the heading, leading to it being visible in search results.

image

Adding display: hidden would likely solve this, but that breaks the transition. Using visibility modifiers should work the same, but retain the existing visual behaviour.

image

Should fix a bug where crawlers like Google Bot thinks this is a part of the heading, leading to it being visible in search results.
@emmadesilva emmadesilva marked this pull request as ready for review February 2, 2024 17:43
@codecov
Copy link

codecov bot commented Feb 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0aca811) 100.00% compared to head (85177f4) 100.00%.

Additional details and impacted files
@@              Coverage Diff              @@
##              master     #1519     +/-   ##
=============================================
  Coverage     100.00%   100.00%             
- Complexity      1740      3480   +1740     
=============================================
  Files            180       360    +180     
  Lines           4715      9430   +4715     
=============================================
+ Hits            4715      9430   +4715     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@emmadesilva emmadesilva merged commit ec26cfa into master Feb 2, 2024
@emmadesilva emmadesilva deleted the make-invisible-permalinks-hidden branch February 2, 2024 19:18
@emmadesilva
Copy link
Member Author

Nope, this just breaks heading permalinks, and has no effect on Google indexing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Heading permalinks button text showing in Google Search previews

2 participants