Skip to content

Commit a866642

Browse files
Peter NgAndroid (Google) Code Review
authored andcommitted
Merge "moving accessibility image to callouts" into jb-dev
2 parents c2eb708 + 353474c commit a866642

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed
-62.7 KB
Loading

docs/html/design/patterns/accessibility.jd

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,26 @@ page.title=Accessibility
3131
<h4>Label visual UI elements meaningfully</h4>
3232
<p>In your wireframes, <a href="{@docRoot}guide/topics/ui/accessibility/apps.html#label-ui">label functional UI components</a> that have no visible text. Those components might be buttons, icons, tabs with icons, and icons with state (like stars). Developers can use the <code><a href="{@docRoot}guide/topics/ui/accessibility/apps.html#label-ui">contentDescription</a></code> attribute to set the label.</p>
3333

34-
<img src="{@docRoot}design/media/accessibility_contentdesc.png">
34+
<div class ="layout-content-row">
35+
<div class="layout-content-col span-8">
36+
<img src="{@docRoot}design/media/accessibility_contentdesc.png">
37+
</div>
38+
<div class="layout-content-col span-5 with-callouts">
39+
<ol>
40+
<li class="value-1">group</li>
41+
<li class="value-2">all contacts</li>
42+
<li class="value-3">favorites</li>
43+
<li class="value-4">search</li>
44+
<li class="value-5">action overflow button</li>
45+
<li class="value-6">
46+
<em>when starred:</em> remove from favorites </br>
47+
<em>when not starred:</em> add to favorties</li>
48+
<li class="value-7">action overflow button</li>
49+
<li class="value-8">text message</li>
50+
<li class="value-9">video chat</li>
51+
</ol>
52+
</div>
53+
</div>
3554

3655
<h4>Provide alternatives to affordances that time out</h4>
3756
<p>Your app may have icons or controls that disappear after a certain amount of time. For example, five seconds after starting a video, playback controls may fade from the screen.</p>

0 commit comments

Comments
 (0)