Skip to content

Commit 9c8503a

Browse files
committed
Merge branch 'main' of github.com:HTTPArchive/almanac.httparchive.org into production
2 parents cbabb29 + 5f045f2 commit 9c8503a

18 files changed

Lines changed: 1290 additions & 101 deletions

.github/workflows/code-static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: actions/checkout@v3
3636
- name: Set up Python 3.8
3737
if: ${{ matrix.language == 'python' }}
38-
uses: actions/setup-python@v4.4.0
38+
uses: actions/setup-python@v4.5.0
3939
with:
4040
python-version: '3.8'
4141
- name: Install dependencies

.github/workflows/lintsql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# Full git history is needed to get a proper list of changed files within `super-linter`
2020
fetch-depth: 0
2121
- name: Set up Python 3.8
22-
uses: actions/setup-python@v4.4.0
22+
uses: actions/setup-python@v4.5.0
2323
with:
2424
python-version: '3.8'
2525
- name: Lint SQL code

.github/workflows/predeploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
node-version: '16'
3838
- name: Set up Python 3.8
39-
uses: actions/setup-python@v4.4.0
39+
uses: actions/setup-python@v4.5.0
4040
with:
4141
python-version: '3.8'
4242
- name: Install Asian Fonts

.github/workflows/test_website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
node-version: '16'
3232
- name: Set up Python 3.8
33-
uses: actions/setup-python@v4.4.0
33+
uses: actions/setup-python@v4.5.0
3434
with:
3535
python-version: '3.8'
3636
- name: Run the website

src/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ templates/*/*/ebook.html
77
templates/*/rss.xml
88
templates/sitemap.xml
99
static/html/
10+
static/js/web-vitals.js
1011
deployed.zip
1112
.coverage

src/config/2020.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@
920920
"twitter": "Mandy_Kerr"
921921
},
922922
"matuzo": {
923-
"name": "Manuel Matuzovic",
923+
"name": "Manuel Matuzović",
924924
"teams": [
925925
"reviewers"
926926
],

src/config/2022.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1289,7 +1289,7 @@
12891289
"teams":[
12901290
"reviewers"
12911291
],
1292-
"github":"yokoka"
1292+
"github":"ytkoka"
12931293
},
12941294
"Levix":{
12951295
"name": "Zhiwei Li",

src/config/last_updated.json

Lines changed: 64 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
},
4242
"/static/js/web-vitals.js": {
4343
"date_published": "2020-11-13T00:00:00.000Z",
44-
"date_modified": "2022-11-23T00:00:00.000Z",
45-
"hash": "eb1b23894dec8f35c2652e44e2897ca6"
44+
"date_modified": "2023-01-14T00:00:00.000Z",
45+
"hash": "dfedc4c6e9b5f5c4654caffe0b595a1f"
4646
},
4747
"/static/js/webmentions.js": {
4848
"date_published": "2021-12-01T00:00:00.000Z",
@@ -51,121 +51,121 @@
5151
},
5252
"/static/pdfs/web_almanac_2019_en.pdf": {
5353
"date_published": "2020-05-15T00:00:00.000Z",
54-
"date_modified": "2023-01-09T00:00:00.000Z",
55-
"hash": "0a74477e8a81b55d819a645475d09489",
54+
"date_modified": "2023-01-14T00:00:00.000Z",
55+
"hash": "5300406c7f2547d1adfdc623eef0cd1a",
5656
"size": 17
5757
},
5858
"/static/pdfs/web_almanac_2019_en_cover_A5.pdf": {
5959
"date_published": "2020-05-15T00:00:00.000Z",
60-
"date_modified": "2023-01-09T00:00:00.000Z",
61-
"hash": "c681154c0d5880368ee8384f2653b383"
60+
"date_modified": "2023-01-14T00:00:00.000Z",
61+
"hash": "72fbf432c9b82f1793c83269f00ea39d"
6262
},
6363
"/static/pdfs/web_almanac_2019_en_print_A5.pdf": {
6464
"date_published": "2020-05-15T00:00:00.000Z",
65-
"date_modified": "2023-01-09T00:00:00.000Z",
66-
"hash": "cb5f032f97a903d3ed8ae2c48d6cf8e0",
65+
"date_modified": "2023-01-14T00:00:00.000Z",
66+
"hash": "29e7d7ea891a8d4260ca74f7012f459f",
6767
"size": 16
6868
},
6969
"/static/pdfs/web_almanac_2019_ja.pdf": {
7070
"date_published": "2020-05-15T00:00:00.000Z",
71-
"date_modified": "2023-01-09T00:00:00.000Z",
72-
"hash": "61e6ad9d709fe20eb3fe2b51ea898284",
71+
"date_modified": "2023-01-14T00:00:00.000Z",
72+
"hash": "82ba34cf36a550d20434a2e0ef008bab",
7373
"size": 17
7474
},
7575
"/static/pdfs/web_almanac_2019_ja_cover_A5.pdf": {
7676
"date_published": "2020-05-15T00:00:00.000Z",
77-
"date_modified": "2023-01-09T00:00:00.000Z",
78-
"hash": "fdc20297b23d1d7c159c8ab0dea7561f"
77+
"date_modified": "2023-01-14T00:00:00.000Z",
78+
"hash": "2bb24bacaf62614fd3e823c884771917"
7979
},
8080
"/static/pdfs/web_almanac_2019_ja_print_A5.pdf": {
8181
"date_published": "2020-05-15T00:00:00.000Z",
82-
"date_modified": "2023-01-09T00:00:00.000Z",
83-
"hash": "f48ca0685f34db509a2ab2abb19bebec",
82+
"date_modified": "2023-01-14T00:00:00.000Z",
83+
"hash": "7bda396a339078f32a02bdcfc8d77fa1",
8484
"size": 17
8585
},
8686
"/static/pdfs/web_almanac_2020_en.pdf": {
8787
"date_published": "2020-12-08T00:00:00.000Z",
88-
"date_modified": "2023-01-09T00:00:00.000Z",
89-
"hash": "23e69a08e0d5220253c65e2e784cea5a",
88+
"date_modified": "2023-01-14T00:00:00.000Z",
89+
"hash": "9bbad00dff6da92a911ce8fb862a11e4",
9090
"size": 24
9191
},
9292
"/static/pdfs/web_almanac_2020_en_cover_A5.pdf": {
9393
"date_published": "2020-12-09T00:00:00.000Z",
94-
"date_modified": "2023-01-09T00:00:00.000Z",
95-
"hash": "c3bf676b40bfb510e0c75aea132ee3d2"
94+
"date_modified": "2023-01-14T00:00:00.000Z",
95+
"hash": "ec659b063bd1ad9712679076d698a666"
9696
},
9797
"/static/pdfs/web_almanac_2020_en_print_A5.pdf": {
9898
"date_published": "2020-12-09T00:00:00.000Z",
99-
"date_modified": "2023-01-09T00:00:00.000Z",
100-
"hash": "f232bbe8da467f4f3e8b43305d7796b4",
99+
"date_modified": "2023-01-14T00:00:00.000Z",
100+
"hash": "e10b959a9f9888ce49430bf1dc4e4f9b",
101101
"size": 24
102102
},
103103
"/static/pdfs/web_almanac_2020_ja.pdf": {
104104
"date_published": "2021-10-24T00:00:00.000Z",
105-
"date_modified": "2023-01-09T00:00:00.000Z",
106-
"hash": "e3c3606cc4fbe021d29bd27502300b5d",
105+
"date_modified": "2023-01-14T00:00:00.000Z",
106+
"hash": "8828045f125bc895ca272eab649cf703",
107107
"size": 25
108108
},
109109
"/static/pdfs/web_almanac_2020_ja_cover_A5.pdf": {
110110
"date_published": "2021-10-24T00:00:00.000Z",
111-
"date_modified": "2023-01-09T00:00:00.000Z",
112-
"hash": "0efdaf2507957a00028c5d174dd62276"
111+
"date_modified": "2023-01-14T00:00:00.000Z",
112+
"hash": "d9efc6c6a61b1b6d487caaf17524d760"
113113
},
114114
"/static/pdfs/web_almanac_2020_ja_print_A5.pdf": {
115115
"date_published": "2021-10-24T00:00:00.000Z",
116-
"date_modified": "2023-01-09T00:00:00.000Z",
117-
"hash": "dbb15973d741bd3846095e29afb0e55c",
116+
"date_modified": "2023-01-14T00:00:00.000Z",
117+
"hash": "ebd47704b5ff57c690a119ccc5a12dcc",
118118
"size": 24
119119
},
120120
"/static/pdfs/web_almanac_2021_en.pdf": {
121121
"date_published": "2021-12-01T00:00:00.000Z",
122-
"date_modified": "2023-01-09T00:00:00.000Z",
123-
"hash": "4dadaa8dfa01808e75ca272f213831db",
122+
"date_modified": "2023-01-14T00:00:00.000Z",
123+
"hash": "e75d5d876f178e14f36d1f017e39c656",
124124
"size": 32
125125
},
126126
"/static/pdfs/web_almanac_2021_en_cover_A5.pdf": {
127127
"date_published": "2021-12-01T00:00:00.000Z",
128-
"date_modified": "2023-01-09T00:00:00.000Z",
129-
"hash": "76e2f18cb0f00aeed667c1cdbd8ba7fc"
128+
"date_modified": "2023-01-14T00:00:00.000Z",
129+
"hash": "40692e277efa65d7b5732a1c73f541d2"
130130
},
131131
"/static/pdfs/web_almanac_2021_en_print_A5.pdf": {
132132
"date_published": "2021-12-01T00:00:00.000Z",
133-
"date_modified": "2023-01-09T00:00:00.000Z",
134-
"hash": "bf9175f5893d5fb5fb21c1c42ef2d6f2",
133+
"date_modified": "2023-01-14T00:00:00.000Z",
134+
"hash": "eeb987490edaa3cab26c2d003bcc21c5",
135135
"size": 31
136136
},
137137
"/static/pdfs/web_almanac_2021_ja.pdf": {
138138
"date_published": "22-08-01T00:00:00.000Z",
139-
"date_modified": "2023-01-09T00:00:00.000Z",
140-
"hash": "19597f03e59e3bc90b69888ee1dbe36b",
139+
"date_modified": "2023-01-14T00:00:00.000Z",
140+
"hash": "69f48f801106e8bf2463acd57e484e97",
141141
"size": 32
142142
},
143143
"/static/pdfs/web_almanac_2021_ja_cover_A5.pdf": {
144144
"date_published": "22-08-01T00:00:00.000Z",
145-
"date_modified": "2023-01-09T00:00:00.000Z",
146-
"hash": "dede3f9c7bfa836b155f49d6f7fb2045"
145+
"date_modified": "2023-01-14T00:00:00.000Z",
146+
"hash": "751de58571813f473814834f19259a98"
147147
},
148148
"/static/pdfs/web_almanac_2021_ja_print_A5.pdf": {
149149
"date_published": "22-08-01T00:00:00.000Z",
150-
"date_modified": "2023-01-09T00:00:00.000Z",
151-
"hash": "950c207f744661a777f3392206b67c4d",
150+
"date_modified": "2023-01-14T00:00:00.000Z",
151+
"hash": "2ae673698bb31b4f7c1b639a096ce542",
152152
"size": 32
153153
},
154154
"/static/pdfs/web_almanac_2022_en.pdf": {
155155
"date_published": "2022-10-19T00:00:00.000Z",
156-
"date_modified": "2023-01-09T00:00:00.000Z",
157-
"hash": "b0de6207db20f34b2ee7f45c6b4c5c1a",
156+
"date_modified": "2023-01-14T00:00:00.000Z",
157+
"hash": "bc1be345e900cc36a205671ae5d66fa5",
158158
"size": 32
159159
},
160160
"/static/pdfs/web_almanac_2022_en_cover_A5.pdf": {
161161
"date_published": "2022-10-19T00:00:00.000Z",
162-
"date_modified": "2023-01-09T00:00:00.000Z",
163-
"hash": "830aa7f71cc8dfe4d7f2e6c429b73e6b"
162+
"date_modified": "2023-01-14T00:00:00.000Z",
163+
"hash": "e3901ee6c180bdbb3df04813cf94f166"
164164
},
165165
"/static/pdfs/web_almanac_2022_en_print_A5.pdf": {
166166
"date_published": "2022-10-19T00:00:00.000Z",
167-
"date_modified": "2023-01-09T00:00:00.000Z",
168-
"hash": "eda27dd6c81c6a4048db3021437db177",
167+
"date_modified": "2023-01-14T00:00:00.000Z",
168+
"hash": "37cedc85c6a2efe3e2365d228cb0152e",
169169
"size": 32
170170
},
171171
"en/2019/chapters/accessibility.html": {
@@ -590,8 +590,8 @@
590590
},
591591
"en/2022/chapters/accessibility.html": {
592592
"date_published": "2022-09-26T00:00:00.000Z",
593-
"date_modified": "2022-12-12T00:00:00.000Z",
594-
"hash": "25c1a3b77967316bb3f434257e6a4371"
593+
"date_modified": "2023-01-14T00:00:00.000Z",
594+
"hash": "c4309d78dd1a375b072b0a2a009d4d4e"
595595
},
596596
"en/2022/chapters/capabilities.html": {
597597
"date_published": "2022-09-26T00:00:00.000Z",
@@ -600,8 +600,8 @@
600600
},
601601
"en/2022/chapters/cdn.html": {
602602
"date_published": "2022-10-13T00:00:00.000Z",
603-
"date_modified": "2022-11-23T00:00:00.000Z",
604-
"hash": "7decb87ddd7bcaa195bbd720d04f4689"
603+
"date_modified": "2023-01-14T00:00:00.000Z",
604+
"hash": "9e93873e7db8efc321dced61c3b79b70"
605605
},
606606
"en/2022/chapters/cms.html": {
607607
"date_published": "2022-09-26T00:00:00.000Z",
@@ -665,8 +665,8 @@
665665
},
666666
"en/2022/chapters/privacy.html": {
667667
"date_published": "2022-10-13T00:00:00.000Z",
668-
"date_modified": "2022-12-12T00:00:00.000Z",
669-
"hash": "33d3b54660124f8a1e7049a836005aac"
668+
"date_modified": "2023-01-14T00:00:00.000Z",
669+
"hash": "6e6acdc5a290060aef454d1a91c68417"
670670
},
671671
"en/2022/chapters/pwa.html": {
672672
"date_published": "2022-09-26T00:00:00.000Z",
@@ -685,8 +685,8 @@
685685
},
686686
"en/2022/chapters/structured-data.html": {
687687
"date_published": "2022-10-25T00:00:00.000Z",
688-
"date_modified": "2022-11-07T00:00:00.000Z",
689-
"hash": "e2f4f6d006bd8240e08df91dbc37f29a"
688+
"date_modified": "2023-01-14T00:00:00.000Z",
689+
"hash": "3514f7753cd3ba3ce03f8209bb40eba3"
690690
},
691691
"en/2022/chapters/sustainability.html": {
692692
"date_published": "2022-09-26T00:00:00.000Z",
@@ -830,8 +830,8 @@
830830
},
831831
"es/2022/chapters/privacy.html": {
832832
"date_published": "2022-11-23T00:00:00.000Z",
833-
"date_modified": "2022-12-12T00:00:00.000Z",
834-
"hash": "f83785a87914405b91176e76c07c5374"
833+
"date_modified": "2023-01-14T00:00:00.000Z",
834+
"hash": "08414cdf83920031c8720a16b6262e79"
835835
},
836836
"es/2022/contributors.html": {
837837
"date_published": "2022-07-02T00:00:00.000Z",
@@ -1183,6 +1183,16 @@
11831183
"date_modified": "2022-12-12T00:00:00.000Z",
11841184
"hash": "03f0f7fa53439a14b6c40e0831c8e077"
11851185
},
1186+
"it/2022/chapters/markup.html": {
1187+
"date_published": "2023-01-14T00:00:00.000Z",
1188+
"date_modified": "2023-01-14T00:00:00.000Z",
1189+
"hash": "fc70b77c70190023f352094fb20e14a2"
1190+
},
1191+
"it/2022/chapters/structured-data.html": {
1192+
"date_published": "2023-01-14T00:00:00.000Z",
1193+
"date_modified": "2023-01-14T00:00:00.000Z",
1194+
"hash": "03804f5de5e628c279b0800f94ed568f"
1195+
},
11861196
"it/2022/contributors.html": {
11871197
"date_published": "2022-07-02T00:00:00.000Z",
11881198
"date_modified": "2022-07-02T00:00:00.000Z",

src/content/en/2022/accessibility.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Another thing to keep in mind is the unit you choose for font size. We found tha
112112

113113
### Language identification
114114

115-
Language identification using the `lang` attribute is important for providing better screen reader support, and also helps for automatic browser translations. This is another good example of a feature that helps everyone, including people with disabilities. Without the `lang` attribute, the automatic browser translation in Chrome can often translate the text incorrectly. Manuel Matuzovic gives one such <a hreflang="en" href="https://www.matuzo.at/blog/lang-attribute/">example of an auto-translate mishap</a> due to the lack of a `lang` attribute.
115+
Language identification using the `lang` attribute is important for providing better screen reader support, and also helps for automatic browser translations. This is another good example of a feature that helps everyone, including people with disabilities. Without the `lang` attribute, the automatic browser translation in Chrome can often translate the text incorrectly. Manuel Matuzović gives one such <a hreflang="en" href="https://www.matuzo.at/blog/lang-attribute/">example of an auto-translate mishap</a> due to the lack of a `lang` attribute.
116116

117117
{{ figure_markup(
118118
content="83%",
@@ -178,7 +178,7 @@ The WCAG requires a visible focus indicator for all interactive content to help
178178
sql_file="focus_outline_0.sql",
179179
) }}
180180

181-
We found that 86% of websites add `:focus {outline: 0}`. This removes the default outline that browsers use for the focused interactive element. In some cases, they are overridden using some custom styling, but not always. This makes it impossible for users to determine which element has focus which in turn hinders navigation. [Sara Souedian](https://twitter.com/SaraSoueidan) has a great article on how to <a hreflang="en" href="https://www.sarasoueidan.com/blog/focus-indicators/">design WCAG-compliant focus indicators</a>. However, it's exciting to see that 9% of websites have `:focus-visible` compared to only 0.6% last year. This is definitely a step in the right direction.
181+
We found that 86% of websites add `:focus {outline: 0}`. This removes the default outline that browsers use for the focused interactive element. In some cases, they are overridden using some custom styling, but not always. This makes it impossible for users to determine which element has focus which in turn hinders navigation. [Sara Soueidan](https://twitter.com/SaraSoueidan) has a great article on how to <a hreflang="en" href="https://www.sarasoueidan.com/blog/focus-indicators/">design WCAG-compliant focus indicators</a>. However, it's exciting to see that 9% of websites have `:focus-visible` compared to only 0.6% last year. This is definitely a step in the right direction.
182182

183183
#### `tabindex`
184184

src/content/en/2022/cdn.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Due to the explosion of web content such as videos and images, CDN has been a vi
3333

3434
During the early days, a CDN was a simple network of proxy servers which would:
3535

36-
1. Cache content (like HTML, images, stylesheets, JavaScript, videos... etc.)
36+
1. Cache content (like HTML, images, stylesheets, JavaScript, videos, etc.)
3737
2. Reduce network hops for end users to access content
3838
3. Offload TCP connection termination away from the data centers hosting the web properties
3939

@@ -146,8 +146,8 @@ Looking at CDN usage for websites based on their popularity—sourced from Googl
146146

147147
CDN providers can be broadly classified into 2 segments:
148148

149-
1. Generic CDN (Akamai, Cloudflare, CloudFront, Fastly... etc.)
150-
2. Purpose-built CDN (Netlify, WordPress... etc.)
149+
1. Generic CDN (Akamai, Cloudflare, CloudFront, Fastly, etc.)
150+
2. Purpose-built CDN (Netlify, WordPress, etc.)
151151

152152
Generic CDNs address the mass market requirements. Their offerings include:
153153

0 commit comments

Comments
 (0)