For #14727: Add content description to resync tabs button.
This commit is contained in:
parent
55b5a452d1
commit
f793c3a5f9
|
@ -6,6 +6,7 @@
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:importantForAccessibility="no"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -25,6 +26,7 @@
|
||||||
android:layout_marginTop="48dp"
|
android:layout_marginTop="48dp"
|
||||||
android:layout_marginEnd="4dp"
|
android:layout_marginEnd="4dp"
|
||||||
android:background="?android:attr/selectableItemBackgroundBorderless"
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
||||||
|
android:contentDescription="@string/resync_button_content_description"
|
||||||
app:srcCompat="@drawable/mozac_ic_refresh"
|
app:srcCompat="@drawable/mozac_ic_refresh"
|
||||||
app:tint="?primaryText" />
|
app:tint="?primaryText" />
|
||||||
|
|
||||||
|
|
|
@ -143,6 +143,8 @@
|
||||||
<string name="browser_menu_install_on_homescreen">Install</string>
|
<string name="browser_menu_install_on_homescreen">Install</string>
|
||||||
<!-- Menu option on the toolbar that takes you to synced tabs page-->
|
<!-- Menu option on the toolbar that takes you to synced tabs page-->
|
||||||
<string name="synced_tabs">Synced tabs</string>
|
<string name="synced_tabs">Synced tabs</string>
|
||||||
|
<!-- Content description (not visible, for screen readers etc.) for the Resync tabs button -->
|
||||||
|
<string name="resync_button_content_description">Resync</string>
|
||||||
<!-- Browser menu button that opens the find in page menu -->
|
<!-- Browser menu button that opens the find in page menu -->
|
||||||
<string name="browser_menu_find_in_page">Find in page</string>
|
<string name="browser_menu_find_in_page">Find in page</string>
|
||||||
<!-- Browser menu button that creates a private tab -->
|
<!-- Browser menu button that creates a private tab -->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user