Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SEO invalid stat #3955

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/content/en/2024/seo.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ featured_stat_1: 70%
featured_stat_label_1: Pages with `<h1>` elements (of which 6% are empty).
featured_stat_2: 2.7%
featured_stat_label_2: Pages with `GPTBot` directives in `robots.txt`—the most common AI crawler found.
featured_stat_3: 28%
featured_stat_label_3: Desktop pages with invalid `<head>` element due to `<img>` elements.
featured_stat_3: 10.9%
featured_stat_label_3: Mobile pages with invalid `<head>` element.
doi: 10.5281/zenodo.14245177
---

Expand Down Expand Up @@ -274,18 +274,18 @@ The impact of a prematurely closed `<head>` is often difficult to catch since th
{{ figure_markup(
image="pages-with-invalid-HTML-in-head.png",
caption="Invalid HTML in `<head>`.",
description="A bar chart depicting 21.5% of desktop and 22.3% of mobile pages have invalid HTML elements in <head> of the page.",
description="A bar chart depicting 10.6% of desktop and 10.9% of mobile pages have invalid HTML elements in `<head>` of the page.",
chart_url="https://docs.google.com/spreadsheets/d/e/2PACX-1vTitOH-aAprInUucdKE0WM41rpV2ri7KW90ZH9VGH2QLbvgKDq6tDRPRNJXMx3i0njRGEIZbxwYoKqJ/pubchart?oid=792944292&format=interactive",
sheets_gid="1932961327",
sql_file="invalid-head-sites-2024.sql"
)
}}

In 2024, 22.3% of mobile pages had `<head>` breaking invalid HTML elements. That represented a 98% increase from 2022's rate of 12.6%. Meanwhile, desktop pages with invalid HTML in the `<head>` increased from 12.7% in 2022 to 21.5% in 2024.
In 2024, 10.9% of mobile pages had `<head>` breaking invalid HTML elements. That represented a 12% decrease from 2022's rate of 12.6%. Meanwhile, desktop pages with invalid HTML in the `<head>` decreased from 12.7% in 2022 to 10.6% in 2024.

{{ figure_markup(
caption="mobiles pages contained invalid HTML elements in the `<head>`",
content="22%",
content="10.9%",
classes="big-number",
sheets_gid="1932961327",
sql_file="invalid-head-sites-2024.sql"
Expand Down
Binary file modified src/static/images/2024/seo/pages-with-invalid-HTML-in-head.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading