mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-07 10:40:11 -05:00
Improved accessibility for next/prev buttons
(reported by a screenreader user)
This commit is contained in:
parent
4ea6c1603b
commit
4b9d4b677a
@ -62,6 +62,7 @@
|
|||||||
<Button
|
<Button
|
||||||
android:id="@+id/previous_scrolling"
|
android:id="@+id/previous_scrolling"
|
||||||
android:text="@string/message_view_prev_action"
|
android:text="@string/message_view_prev_action"
|
||||||
|
android:contentDescription="@string/previous_action"
|
||||||
android:textSize="35dip"
|
android:textSize="35dip"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="0dip"
|
android:layout_width="0dip"
|
||||||
@ -88,6 +89,7 @@
|
|||||||
<Button
|
<Button
|
||||||
android:id="@+id/next_scrolling"
|
android:id="@+id/next_scrolling"
|
||||||
android:text="@string/message_view_next_action"
|
android:text="@string/message_view_next_action"
|
||||||
|
android:contentDescription="@string/next_action"
|
||||||
android:textSize="35dip"
|
android:textSize="35dip"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="0dip"
|
android:layout_width="0dip"
|
||||||
@ -136,6 +138,7 @@
|
|||||||
<Button
|
<Button
|
||||||
android:id="@+id/previous"
|
android:id="@+id/previous"
|
||||||
android:text="@string/message_view_prev_action"
|
android:text="@string/message_view_prev_action"
|
||||||
|
android:contentDescription="@string/previous_action"
|
||||||
android:textSize="35dip"
|
android:textSize="35dip"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="0dip"
|
android:padding="0dip"
|
||||||
@ -162,6 +165,7 @@
|
|||||||
<Button
|
<Button
|
||||||
android:id="@+id/next"
|
android:id="@+id/next"
|
||||||
android:text="@string/message_view_next_action"
|
android:text="@string/message_view_next_action"
|
||||||
|
android:contentDescription="@string/next_action"
|
||||||
android:textSize="35dip"
|
android:textSize="35dip"
|
||||||
android:padding="0dip"
|
android:padding="0dip"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -86,6 +86,7 @@
|
|||||||
<Button
|
<Button
|
||||||
android:id="@+id/previous_scrolling"
|
android:id="@+id/previous_scrolling"
|
||||||
android:text="@string/message_view_prev_action"
|
android:text="@string/message_view_prev_action"
|
||||||
|
android:contentDescription="@string/previous_action"
|
||||||
android:textSize="35dip"
|
android:textSize="35dip"
|
||||||
android:padding="0dip"
|
android:padding="0dip"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -149,6 +150,7 @@
|
|||||||
<Button
|
<Button
|
||||||
android:id="@+id/previous"
|
android:id="@+id/previous"
|
||||||
android:text="@string/message_view_prev_action"
|
android:text="@string/message_view_prev_action"
|
||||||
|
android:contentDescription="@string/previous_action"
|
||||||
android:textSize="35dip"
|
android:textSize="35dip"
|
||||||
android:padding="0dip"
|
android:padding="0dip"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -165,6 +167,7 @@
|
|||||||
<Button
|
<Button
|
||||||
android:id="@+id/next"
|
android:id="@+id/next"
|
||||||
android:text="@string/message_view_next_action"
|
android:text="@string/message_view_next_action"
|
||||||
|
android:contentDescription="@string/next_action"
|
||||||
android:textSize="35dip"
|
android:textSize="35dip"
|
||||||
android:padding="0dip"
|
android:padding="0dip"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
|
|
||||||
<!-- Actions will be used as buttons and in menu items -->
|
<!-- Actions will be used as buttons and in menu items -->
|
||||||
<string name="next_action">Next</string> <!-- Used as part of a multi-step process -->
|
<string name="next_action">Next</string> <!-- Used as part of a multi-step process -->
|
||||||
|
<string name="previous_action">Previous</string> <!-- Used as part of a multi-step process -->
|
||||||
<string name="okay_action">OK</string> <!-- User to confirm acceptance of dialog boxes, warnings, errors, etc. -->
|
<string name="okay_action">OK</string> <!-- User to confirm acceptance of dialog boxes, warnings, errors, etc. -->
|
||||||
<string name="cancel_action">Cancel</string>
|
<string name="cancel_action">Cancel</string>
|
||||||
<string name="send_action">Send</string>
|
<string name="send_action">Send</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user