@@ -50,11 +50,14 @@ cues are needed.</p>
5050
5151<p>Fortunately, it's easy to add labels to UI elements in your application that
5252can be read out loud to your user by a speech-based accessibility service like <a
53- href="https://market.android.com/details?id=com.google.android.marvin.talkback">TalkBack</a>.
53+ href="https://play.google.com/store/apps/details?id=com.google.android.marvin.talkback">TalkBack</a>
54+ .
5455If you have a label that's likely not to change during the lifecycle of the
5556application (such as "Pause" or "Purchase"), you can add it via the XML layout,
5657by setting a UI element's <a
57- href="{@docRoot}reference/android/view.View#attr_android:contentDescription">android:contentDescription</a> attribute, like in this
58+
59+ href="{@docRoot}reference/android/view/View.html#attr_android:contentDescription"
60+ >{@code android:contentDescription}</a> attribute, like in this
5861example:</p>
5962<pre>
6063<Button
@@ -83,7 +86,7 @@ the noise a user needs to navigate in order to pull useful information from your
8386interface.</p>
8487
8588<p>Try it out! Download <a
86- href="https://market.android .com/details?id=com.google.android.marvin.talkback">TalkBack</a>
89+ href="https://play.google .com/store/apps /details?id=com.google.android.marvin.talkback">TalkBack</a>
8790(an accessibility service published by Google) and enable it in <strong>Settings
8891 > Accessibility > TalkBack</strong>. Then navigate around your own
8992application and listen for the audible cues provided by TalkBack.</p>
@@ -101,21 +104,21 @@ modification can be
101104done at runtime using the
102105{@link android.view.View#setFocusable View.setFocusable()} method on that UI
103106control, or by setting the <a
104- href="{@docRoot}android. view. View#attr_android:focusable">{@code
107+ href="{@docRoot}reference/ android/ view/ View.html #attr_android:focusable">{@code
105108 android:focusable}</a>
106109attrubute in your XML layout files.</p>
107110
108111<p>Also, each UI control has 4 attributes,
109- <a href="{@docRoot}reference/android/view/View#attr_android:nextFocusUp">{@code
112+ <a href="{@docRoot}reference/android/view/View.html #attr_android:nextFocusUp">{@code
110113 android:nextFocusUp}</a>,
111114<a
112- href="{@docRoot}reference/android/view/View#attr_android:nextFocusDown">{@code
115+ href="{@docRoot}reference/android/view/View.html #attr_android:nextFocusDown">{@code
113116 android:nextFocusDown}</a>,
114117<a
115- href="{@docRoot}reference/android/view/View#attr_android:nextFocusLeft">{@code
118+ href="{@docRoot}reference/android/view/View.html #attr_android:nextFocusLeft">{@code
116119 android:nextFocusLeft}</a>,
117120and <a
118- href="{@docRoot}reference/android/view/View#attr_android:nextFocusRight">{@code
121+ href="{@docRoot}reference/android/view/View.html #attr_android:nextFocusRight">{@code
119122 android:nextFocusRight}</a>,
120123which you can use to designate
121124the next view to receive focus when the user navigates in that direction. While
@@ -178,7 +181,8 @@ public void onTextChanged(String before, String after) {
178181<p>Be sure to test the accessibility functionality as you add it to your
179182application. In order to test the content descriptions and Accessibility
180183events, install and enable an accessibility service. One option is <a
181- href="https://play.google.com/store/details?id=com.google.android.marvin.talkback">Talkback</a>,
184+ href="https://play.google.com/store/apps/details?id=com.google.android.marvin.talkback">Talkback</a>
185+ ,
182186a free, open source screen reader available on Google Play. With the service
183187enabled, test all the navigation flows through your application and listen to
184188the spoken feedback.</p>
0 commit comments