Skip to content

Commit 06ab410

Browse files
authored
Fix broken images and cite element misuse (#25)
* Replace placehold.it with dummyimage.com * Remove `cite` from `blockquote` * Rebuild index.html * Patch version bump
1 parent 3e76fae commit 06ab410

File tree

4 files changed

+29
-29
lines changed

4 files changed

+29
-29
lines changed

docs/index.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ <h3 id="subtitle-content">Content</h3>
166166
"Yes, mother, yes, thank-you, I'm getting up now."
167167
</p>
168168
<footer>
169-
<cite>Gregor Samsa</cite>
169+
Gregor Samsa
170170
</footer>
171171
</blockquote>
172172
<p>
@@ -531,14 +531,14 @@ <h2 id="title-embedded">Embedded</h2>
531531
<!-- Start of #subsection-image -->
532532
<h3 id="subsection-image">Image</h3>
533533
<img
534-
src="http://placehold.it/600x400?text=Image+Example"
534+
src="https://dummyimage.com/600x400?text==Image+Example"
535535
alt="Image Example" />
536536
<!-- End of #subsection-image -->
537537

538538
<!-- Start of #subsection-broken-image -->
539539
<h3 id="subsection-lazy-loaded-image">Lazy-loaded Image</h3>
540540
<img
541-
src="http://placehold.it/500x500?text=Lazy-Loaded+Image+Example"
541+
src="http://dummyimage.com/500x500?text=Lazy-Loaded+Image+Example"
542542
loading="lazy"
543543
decoding="async"
544544
width="500"
@@ -557,7 +557,7 @@ <h3 id="subsection-broken-image">Broken Image</h3>
557557
<h3 id="subsection-figure-with-caption">Figure with Caption</h3>
558558
<figure>
559559
<img
560-
src="http://placehold.it/400x250?text=Figure+Example"
560+
src="http://dummyimage.com/400x250?text=Figure+Example"
561561
alt="Figure Example" />
562562
<figcaption>
563563
An example figure caption.
@@ -607,25 +607,25 @@ <h3 id="subsection-picture">Picture</h3>
607607
<picture>
608608
<source
609609
media="(min-width: 40em)"
610-
srcset="http://placehold.it/800x450/7ED321/ffffff/?text=1x+Source+w/Breakpoint+Example 1x,
611-
http://placehold.it/800x600/7ED321/ffffff/?text=2x+Source+w/Breakpoint+Example 2x" />
610+
srcset="http://dummyimage.com/800x450/7ED321/ffffff/?text=1x+Source+w/Breakpoint+Example 1x,
611+
http://dummyimage.com/800x600/7ED321/ffffff/?text=2x+Source+w/Breakpoint+Example 2x" />
612612
<source
613-
srcset="http://placehold.it/500x250/F5A623/ffffff/?text=1x+Source+Example 1x,
614-
http://placehold.it/500x250/F5A623/ffffff/?text=2x+Source+Example 2x" />
613+
srcset="http://dummyimage.com/500x250/F5A623/ffffff/?text=1x+Source+Example 1x,
614+
http://dummyimage.com/500x250/F5A623/ffffff/?text=2x+Source+Example 2x" />
615615
<img
616-
src="http://placehold.it/600x400?text=Img+Fallback"
616+
src="https://dummyimage.com/600x400?text==Img+Fallback"
617617
alt="Picture Element" />
618618
</picture>
619619
<!-- End of #subsection-picture -->
620620

621621
<!-- Start of #subsection-image-with-srcset-and-sizes -->
622622
<h3 id="subsection-image-with-srcset-and-sizes">Image with Srcset and Sizes</h3>
623623
<img
624-
srcset="http://placehold.it/1024x768/7ED321/ffffff/?text=Large 1024w,
625-
http://placehold.it/1024x768/F5A623/ffffff/?text=Medium 640w,
626-
http://placehold.it/320x240/50E3C2/ffffff/?text=Small 320w"
624+
srcset="http://dummyimage.com/1024x768/7ED321/ffffff/?text=Large 1024w,
625+
http://dummyimage.com/1024x768/F5A623/ffffff/?text=Medium 640w,
626+
http://dummyimage.com/320x240/50E3C2/ffffff/?text=Small 320w"
627627
sizes="(min-width: 36em) 50vw, 100vw"
628-
src="http://placehold.it/600x400?text=Img+Fallback"
628+
src="https://dummyimage.com/600x400?text==Img+Fallback"
629629
alt="Image with Srcset and Sizes Example" />
630630
<!-- End of #subsection-image-with-srcset-and-sizes -->
631631

@@ -668,7 +668,7 @@ <h3 id="subsection-audio">Audio</h3>
668668
<h3 id="subsection-video">Video</h3>
669669
<video
670670
controls
671-
poster="http://placehold.it/854x480?text=Video+Poster">
671+
poster="http://dummyimage.com/854x480?text=Video+Poster">
672672
<source
673673
src="http://clips.vorwaerts-gmbh.de/VfE_html5.mp4"
674674
type="video/mp4" />

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "accessible-html-content-patterns",
33
"description": "A collection of the full HTML5 Doctor Element Index as well as common markup patterns for quick reference.",
44
"homepage": "https://github.com/ericwbailey/accessible-html-content-patterns",
5-
"version": "2.0.9",
5+
"version": "2.0.10",
66
"license": "MIT",
77
"author": "Eric Bailey <[email protected]> (http://ericwbailey.website/)",
88
"contributors": [

partials/section.embedded.hbs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<!-- Start of #subsection-image -->
66
<h3 id="subsection-image">Image</h3>
77
<img
8-
src="http://placehold.it/600x400?text=Image+Example"
8+
src="https://dummyimage.com/600x400?text==Image+Example"
99
alt="Image Example" />
1010
<!-- End of #subsection-image -->
1111

1212
<!-- Start of #subsection-broken-image -->
1313
<h3 id="subsection-lazy-loaded-image">Lazy-loaded Image</h3>
1414
<img
15-
src="http://placehold.it/500x500?text=Lazy-Loaded+Image+Example"
15+
src="http://dummyimage.com/500x500?text=Lazy-Loaded+Image+Example"
1616
loading="lazy"
1717
decoding="async"
1818
width="500"
@@ -31,7 +31,7 @@
3131
<h3 id="subsection-figure-with-caption">Figure with Caption</h3>
3232
<figure>
3333
<img
34-
src="http://placehold.it/400x250?text=Figure+Example"
34+
src="http://dummyimage.com/400x250?text=Figure+Example"
3535
alt="Figure Example" />
3636
<figcaption>
3737
An example figure caption.
@@ -81,25 +81,25 @@
8181
<picture>
8282
<source
8383
media="(min-width: 40em)"
84-
srcset="http://placehold.it/800x450/7ED321/ffffff/?text=1x+Source+w/Breakpoint+Example 1x,
85-
http://placehold.it/800x600/7ED321/ffffff/?text=2x+Source+w/Breakpoint+Example 2x" />
84+
srcset="http://dummyimage.com/800x450/7ED321/ffffff/?text=1x+Source+w/Breakpoint+Example 1x,
85+
http://dummyimage.com/800x600/7ED321/ffffff/?text=2x+Source+w/Breakpoint+Example 2x" />
8686
<source
87-
srcset="http://placehold.it/500x250/F5A623/ffffff/?text=1x+Source+Example 1x,
88-
http://placehold.it/500x250/F5A623/ffffff/?text=2x+Source+Example 2x" />
87+
srcset="http://dummyimage.com/500x250/F5A623/ffffff/?text=1x+Source+Example 1x,
88+
http://dummyimage.com/500x250/F5A623/ffffff/?text=2x+Source+Example 2x" />
8989
<img
90-
src="http://placehold.it/600x400?text=Img+Fallback"
90+
src="https://dummyimage.com/600x400?text==Img+Fallback"
9191
alt="Picture Element" />
9292
</picture>
9393
<!-- End of #subsection-picture -->
9494

9595
<!-- Start of #subsection-image-with-srcset-and-sizes -->
9696
<h3 id="subsection-image-with-srcset-and-sizes">Image with Srcset and Sizes</h3>
9797
<img
98-
srcset="http://placehold.it/1024x768/7ED321/ffffff/?text=Large 1024w,
99-
http://placehold.it/1024x768/F5A623/ffffff/?text=Medium 640w,
100-
http://placehold.it/320x240/50E3C2/ffffff/?text=Small 320w"
98+
srcset="http://dummyimage.com/1024x768/7ED321/ffffff/?text=Large 1024w,
99+
http://dummyimage.com/1024x768/F5A623/ffffff/?text=Medium 640w,
100+
http://dummyimage.com/320x240/50E3C2/ffffff/?text=Small 320w"
101101
sizes="(min-width: 36em) 50vw, 100vw"
102-
src="http://placehold.it/600x400?text=Img+Fallback"
102+
src="https://dummyimage.com/600x400?text==Img+Fallback"
103103
alt="Image with Srcset and Sizes Example" />
104104
<!-- End of #subsection-image-with-srcset-and-sizes -->
105105

@@ -142,7 +142,7 @@
142142
<h3 id="subsection-video">Video</h3>
143143
<video
144144
controls
145-
poster="http://placehold.it/854x480?text=Video+Poster">
145+
poster="http://dummyimage.com/854x480?text=Video+Poster">
146146
<source
147147
src="http://clips.vorwaerts-gmbh.de/VfE_html5.mp4"
148148
type="video/mp4" />

partials/section.text-level.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"Yes, mother, yes, thank-you, I'm getting up now."
1414
</p>
1515
<footer>
16-
<cite>Gregor Samsa</cite>
16+
Gregor Samsa
1717
</footer>
1818
</blockquote>
1919
<p>

0 commit comments

Comments
 (0)