mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 21:33:53 +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
|
|
@ -13,14 +13,16 @@
|
|||
style="@style/MediaDetailTextLabel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Captions"
|
||||
android:text="@string/show_captions"
|
||||
android:textColor="?attr/caption_description_text_color" />
|
||||
|
||||
<ListView
|
||||
android:id="@+id/caption_listview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/caption_label" />
|
||||
android:layout_below="@+id/caption_label"
|
||||
android:contentDescription="@string/show_captions"
|
||||
tools:ignore="DuplicateSpeakableTextCheck" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/description_label"
|
||||
|
|
@ -29,7 +31,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/caption_listview"
|
||||
android:layout_marginTop="@dimen/dimen_10"
|
||||
android:text="Descriptions"
|
||||
android:text="@string/show_captions_description"
|
||||
android:textColor="?attr/caption_description_text_color" />
|
||||
|
||||
<ProgressBar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue