Skip to content

Commit adde861

Browse files
committed
[css-round-display] Insert an alt attribute into <img> elements
1 parent c4c62a8 commit adde861

13 files changed

Lines changed: 848 additions & 13 deletions

css-round-display/Overview.bs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ The example below shows how a web page looks in the different shapes of displays
9292

9393
<div style="width: 700px; height: 380px; text-align:center">
9494
<div style="float: left; width: 350px;">
95-
<img src="images/clock_a.png">
95+
<img alt="An image of a rectangle clock within a rectangle display" src="images/device_radius_clock_a.png">
9696
<p>(A) Rectangle Display</p>
9797
</div>
9898
<div style="float: left; ">
99-
<img src="images/clock_c.png">
99+
<img alt="An image of a round clock within a rectangle display" src="images/device_radius_clock_b.png">
100100
<p>(B) Round Display</p>
101101
</div>
102102
</div>
@@ -126,11 +126,11 @@ If this example code is loaded in a regular round display, '<code>round.css</cod
126126
</pre>
127127
<div style="width: 700px; height: 380px; text-align:center">
128128
<div style="float: left; width: 350px;">
129-
<img src="images/clock_a.png">
129+
<img alt="An image of a rectangle clock within a rectangle display" src="images/device_radius_clock_a.png">
130130
<p>(A) Rectangle Display<br>(w/ <code>device-radius: 0%</code>)</p>
131131
</div>
132132
<div style="float: left; ">
133-
<img src="images/clock_b.png">
133+
<img alt="An image of a round clock within a round display" src="images/device_radius_clock_c.png">
134134
<p>(B) Round Display<br>(w/ <code>device-radius: 50%</code>)</p>
135135
</div>
136136
</div>
@@ -188,11 +188,11 @@ The example below shows how the 'shape-inside' property works when it is set to
188188
<br />
189189
<div style="width: 500px; height: 380px; text-align:center">
190190
<div style="float: left; width: 230px;">
191-
<img style="width: 230px" src="images/watch_b.png">
191+
<img alt="A layout of web contents without shape-inside:display" style="width: 230px" src="images/shape_inside_watch_a.png">
192192
<p>(A) Without '<code>shape-inside</code>'</p>
193193
</div>
194194
<div style="float: left; width: 230px;">
195-
<img style="width: 230px" src="images/watch_c.png">
195+
<img alt="A layout of web contents with shape-inside: display" style="width: 230px" src="images/shape_inside_watch_b.png">
196196
<p>(B) With '<code>shape-inside: display</code>'</p>
197197
</div>
198198
</div>
@@ -207,7 +207,7 @@ Even though the shape of the rounded display could be described by circle() or e
207207
When a containing block is placed on one end of the display and the containing block has 'shape-inside: display', the descendant blocks of the containing block are basically put on the overlapping region between the containing block and the display area. The overlapping region's shape is mostly complicated shape, so it's difficult to define the shape using previous method like basic-shape. The figure 4 describes these circumstances as follows.
208208
</p>
209209
<div style="width: 500px;">
210-
<img style="width: 500px" src="images/ex3.png">
210+
<img alt="An image of two examples to show the principle of shape-inside: display" style="width: 500px" src="images/shape_inside_a.png">
211211
<p class="caption">Align a part of the content along the display border</p>
212212
</div>
213213
<p class="issue">
@@ -256,11 +256,11 @@ The example below shows how the 'border-boundary' property works on drawing bord
256256
<br />
257257
<div style="width: 600px; text-align:center">
258258
<div style="float: left; width: 300px;">
259-
<img style="width: 200px" src="images/border_b.png">
259+
<img alt="An image of circle drawing border lines without border-boundary: display" style="width: 200px" src="images/border_boundary_a.png">
260260
<p>(A) Without '<code>border-boundary</code>'</p>
261261
</div>
262-
<div style="float: left; width: 300px; ">
263-
<img style="width: 200px" src="images/border_c.png">
262+
<div style="float: left; width: 300px;">
263+
<img alt="An image of circle drawing border lines with border-boundary: display" style="width: 200px" src="images/border_boundary_b.png">
264264
<p>(B) With '<code>border-boundary: display</code>'</p>
265265
</div>
266266
</div>
@@ -326,11 +326,11 @@ Figure 6B might be the result of
326326
<br />
327327
<div style="width: 700px; text-align:center">
328328
<div style="float: left; width: 350px;">
329-
<img style="width: 300px" src="images/polar_positioning_a.png">
329+
<img alt="An image aligning two elements to containing block in the conventional coordinate system" style="width: 300px" src="images/polar_position_a.png">
330330
<p>(A) With 'position: <code>absolute</code>'</p>
331331
</div>
332332
<div style="float: left; width: 350px; ">
333-
<img style="width: 300px" src="images/polar_positioning_b.png">
333+
<img alt="An image aligning two elements to containing block in the polar coordinate system" style="width: 300px" src="images/polar_position_b.png">
334334
<p>(B) With 'position: <code>polar</code>'</p>
335335
</div>
336336
</div>
@@ -376,7 +376,7 @@ This example shows a way to align elements within the polar coordinate system.
376376
&lt;/body>
377377
</pre>
378378
<div style="width: 400px; text-align: center">
379-
<img src="images/polar.png" style="width: 200px; border: 1px #AAA solid; text-align: center"/>
379+
<img alt="An image of three elements positioned to polar coordinates" src="images/polar_a.png" style="width: 200px; border: 1px #AAA solid; text-align: center"/>
380380
<p class="caption">An example of polar positioning</p>
381381
</div>
382382
</div>

0 commit comments

Comments
 (0)