Skip to content

Commit 65684dd

Browse files
committed
Lazy load images below the fold
1 parent 8a66f3e commit 65684dd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ <h3>
137137
</a>
138138
</h3>
139139
<h4>CDN</h4>
140-
<img alt="jsDelivr hits (npm)" src="https://img.shields.io/jsdelivr/npm/hm/checka11y-css?label=jsDelivr%20hits&logo=jsdelivr&style=social">
140+
<img alt="jsDelivr hits (npm)" src="https://img.shields.io/jsdelivr/npm/hm/checka11y-css?label=jsDelivr%20hits&logo=jsdelivr&style=social" loading="lazy">
141141
<p>In the below CDN links:</p>
142142
<ul>
143143
<li>Replace <code class="code">:version</code> with a version <a href="https://www.npmjs.com/package/checka11y-css?activeTab=versions" rel="nofollow" target="_blank" class="link">listed here</a> (latest version is always recommended). If you always want to get the latest stylesheet, remove <code class="code">@:version</code> completely (Not recommended).</li>
@@ -151,7 +151,7 @@ <h4>CDN</h4>
151151
</div>
152152
<h4>Package manager (npm or yarn)</h4>
153153
<a href="https://www.npmjs.com/package/checka11y-css" rel="nofollow" target="_blank" class="link">
154-
<img alt="npm downloads" src="https://img.shields.io/npm/dt/checka11y-css?logo=npm&style=social">
154+
<img alt="npm downloads" src="https://img.shields.io/npm/dt/checka11y-css?logo=npm&style=social" loading="lazy">
155155
<span class="sr-only">npm downloads</span>
156156
</a>
157157
<div class="example example--stack">
@@ -265,7 +265,7 @@ <h3>
265265
</main>
266266
<footer class="footer">
267267
<div class="center">
268-
<img src="/img/footer-icon.png" alt="Checka11y.css icon" />
268+
<img src="/img/footer-icon.png" alt="Checka11y.css icon" loading="lazy" />
269269
<span id="copyright">&copy; Checka11y.css</span>
270270
</div>
271271
<p>Made with <span aria-label="love"></span> by <a href="https://jackdomleo.dev" rel="nofollow noopener" class="link">Jack Domleo</a>.</p>

0 commit comments

Comments
 (0)