mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 22:03:55 +01:00
Content description for UI elements -- accessibility (#4935)
* Started from welcome layout to main layout adding content descriptions * Adds UI description section to strings.xml and adds a few content descrpitions * Consolidates UI strings to top of file * fixes nearby typos * Removes content descriptions that clash with pr #4766 * Removes unused elements and reverts out-of-scope changes * Restores pic-of-the-day content description Co-authored-by: joshuamccluskey <jpiff57@gmail.com>
This commit is contained in:
parent
e47d057bfe
commit
78bfd0986c
18 changed files with 335 additions and 295 deletions
|
|
@ -10,19 +10,20 @@
|
|||
>
|
||||
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/permission_request_button"
|
||||
android:text="@string/display_nearby_notification_summary"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginLeft="@dimen/activity_margin_horizontal"
|
||||
android:layout_marginRight="@dimen/activity_margin_horizontal"
|
||||
android:layout_marginTop="@dimen/activity_margin_horizontal"
|
||||
android:minWidth="@dimen/fragment_height"
|
||||
android:textColor="?attr/card_item_color"
|
||||
android:singleLine="true"
|
||||
android:theme="?attr/mainScreenNearbyPermissionbutton"
|
||||
style="@style/Widget.AppCompat.Button.Borderless"/>
|
||||
android:id="@+id/permission_request_button"
|
||||
style="@style/Widget.AppCompat.Button.Borderless"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginLeft="@dimen/activity_margin_horizontal"
|
||||
android:layout_marginTop="@dimen/activity_margin_horizontal"
|
||||
android:layout_marginRight="@dimen/activity_margin_horizontal"
|
||||
android:contentDescription="@string/display_nearby_notification_summary"
|
||||
android:minWidth="@dimen/fragment_height"
|
||||
android:singleLine="true"
|
||||
android:text="@string/display_nearby_notification_summary"
|
||||
android:textColor="?attr/card_item_color"
|
||||
android:theme="?attr/mainScreenNearbyPermissionbutton" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue