* commit '91470be46644493be89dc277f3c0f987f34bc937': docs: fix broken links
This commit is contained in:
@@ -60,8 +60,9 @@ access-related problems:</p>
|
|||||||
<li>Make all of your user interface controls accessible with a trackball or directional
|
<li>Make all of your user interface controls accessible with a trackball or directional
|
||||||
controller (d-pad).</li>
|
controller (d-pad).</li>
|
||||||
<li>Label your {@link android.widget.ImageButton}, {@link android.widget.EditText}, and other input
|
<li>Label your {@link android.widget.ImageButton}, {@link android.widget.EditText}, and other input
|
||||||
widgets using the <a href="{@docRoot}reference/android/view/View#attr_android:contentDescription"
|
widgets using the <a
|
||||||
>{@code android:contentDescription}</a> attribute.</li>
|
href="{@docRoot}reference/android/view/View.html#attr_android:contentDescription">{@code
|
||||||
|
android:contentDescription}</a> attribute.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
@@ -100,8 +101,9 @@ request that a widget be given focus. Such methods include:</p>
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>When working with a view that is not focusable by default, you can make it focusable from the XML
|
<p>When working with a view that is not focusable by default, you can make it focusable from the XML
|
||||||
layout file by setting the <a href="{@docRoot}reference/android/view/View#attr_android:focusable"
|
layout file by setting the <a
|
||||||
>{@code android:focusable}</a> attribute to {@code "true"}.</p>
|
href="{@docRoot}reference/android/view/View.html#attr_android:focusable">{@code
|
||||||
|
android:focusable}</a> attribute to {@code "true"}.</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -181,13 +183,13 @@ a label near it that indicates its purpose. When a visually impaired user acces
|
|||||||
application, these visual cues are often useless.</p>
|
application, these visual cues are often useless.</p>
|
||||||
|
|
||||||
<p>To provide textual information about these widgets (as an alternative to the visual cues), you
|
<p>To provide textual information about these widgets (as an alternative to the visual cues), you
|
||||||
should use the <a href="{@docRoot}reference/android/view/View#attr_android:contentDescription"
|
should use the <a href="{@docRoot}reference/android/view/View.html#attr_android:contentDescription"
|
||||||
>{@code android:contentDescription}</a> attribute. The text you provide in this attribute
|
>{@code android:contentDescription}</a> attribute. The text you provide in this attribute
|
||||||
is not visible on the screen, but if a user has enabled accessibility speech tools then the
|
is not visible on the screen, but if a user has enabled accessibility speech tools then the
|
||||||
description in this attribute is read aloud to the user.</p>
|
description in this attribute is read aloud to the user.</p>
|
||||||
|
|
||||||
<p>You should set the <a
|
<p>You should set the <a
|
||||||
href="{@docRoot}reference/android/view/View#attr_android:contentDescription" >{@code
|
href="{@docRoot}reference/android/view/View.html#attr_android:contentDescription" >{@code
|
||||||
android:contentDescription}</a> attribute on every {@link android.widget.ImageButton}, {@link
|
android:contentDescription}</a> attribute on every {@link android.widget.ImageButton}, {@link
|
||||||
android.widget.EditText}, {@link android.widget.CheckBox}, and on any other input widgets that might
|
android.widget.EditText}, {@link android.widget.CheckBox}, and on any other input widgets that might
|
||||||
benefit users with extra information.</p>
|
benefit users with extra information.</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user