[fenix] For https://github.com/mozilla-mobile/fenix/issues/22415: Remove element type from content descriptions.

Adding the type to content description is not advised according to a11y guidelines.
pull/600/head
mcarare 3 years ago committed by mergify[bot]
parent fb8b281431
commit afddd6ec32

@ -31,7 +31,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground"
android:contentDescription="@string/recently_saved_show_all_content_description"
android:contentDescription="@string/recently_saved_show_all_content_description_2"
android:insetTop="0dp"
android:paddingStart="16dp"
android:paddingEnd="0dp"

@ -29,7 +29,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground"
android:contentDescription="@string/recent_tabs_show_all_content_description"
android:contentDescription="@string/recent_tabs_show_all_content_description_2"
android:insetTop="0dp"
android:paddingStart="16dp"
android:paddingEnd="0dp"

@ -30,7 +30,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground"
android:contentDescription="@string/past_explorations_show_all_content_description"
android:contentDescription="@string/past_explorations_show_all_content_description_2"
android:insetTop="0dp"
android:paddingStart="16dp"
android:paddingEnd="0dp"

@ -55,7 +55,9 @@
<!-- Title for the button which navigates the user to show all of their saved bookmarks. -->
<string name="recently_saved_show_all">Show all</string>
<!-- Content description for the button which navigates the user to show all of their saved bookmarks. -->
<string name="recently_saved_show_all_content_description">Show all saved bookmarks button</string>
<string name="recently_saved_show_all_content_description_2">Show all saved bookmarks</string>
<!-- Content description for the button which navigates the user to show all of their saved bookmarks. -->
<string name="recently_saved_show_all_content_description" moz:removedIn="97" tools:ignore="UnusedResources">Show all saved bookmarks button</string>
<!-- About content. The first parameter is the name of the application. (For example: Fenix) -->
<string name="about_content">%1$s is produced by Mozilla.</string>
@ -133,7 +135,9 @@
<!-- Button text for showing all the tabs in the tabs tray -->
<string name="recent_tabs_show_all">Show all</string>
<!-- Content description for the button which navigates the user to show all recent tabs in the tabs tray. -->
<string name="recent_tabs_show_all_content_description">Show all recent tabs button</string>
<string name="recent_tabs_show_all_content_description_2">Show all recent tabs button</string>
<!-- Content description for the button which navigates the user to show all recent tabs in the tabs tray. -->
<string name="recent_tabs_show_all_content_description2" moz:removedIn="97" tools:ignore="UnusedResources">Show all recent tabs</string>
<!-- Title for showing a group item in the 'Jump back in' section of the new tab
The first parameter is the search term that the user used. (for example: your search for "cat")-->
<string name="recent_tabs_search_term">Your search for \"%1$s\"</string>
@ -155,7 +159,9 @@
in the Recently visited section -->
<string name="recently_visited_menu_item_remove">Remove</string>
<!-- Content description for the button which navigates the user to show all of their history. -->
<string name="past_explorations_show_all_content_description">Show all past explorations button</string>
<string name="past_explorations_show_all_content_description_2">Show all past explorations</string>
<!-- Content description for the button which navigates the user to show all of their history. -->
<string name="past_explorations_show_all_content_description" moz:removedIn="97" tools:ignore="UnusedResources">Show all past explorations button</string>
<!-- Browser Fragment -->
<!-- Content description (not visible, for screen readers etc.): Navigate to open tabs -->

Loading…
Cancel
Save