1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-05 01:53:17 +00:00

PS-689 Android: Accessibility - back buttons in search and vault > bin lack appropriate accessible name (#1929)

* PS-689 Added back buttons accessibility text

* PS-689 Changed resource key from "GoBack" to "TapToGoBack"

* PS-689: class rename
This commit is contained in:
André Filipe da Silva Bispo
2022-06-01 20:50:19 +01:00
committed by GitHub
parent 121f0e3628
commit 98130e89de
5 changed files with 44 additions and 1 deletions

View File

@@ -33,7 +33,9 @@
Text=""
VerticalOptions="CenterAndExpand"
Clicked="BackButton_Clicked"
x:Name="_backButton" />
x:Name="_backButton"
AutomationProperties.IsInAccessibleTree="True"
AutomationProperties.Name="{u:I18n TapToGoBack}"/>
<controls:ExtendedSearchBar
x:Name="_searchBar"
HorizontalOptions="FillAndExpand"

View File

@@ -3971,6 +3971,12 @@ namespace Bit.App.Resources {
}
}
public static string TapToGoBack {
get {
return ResourceManager.GetString("TapToGoBack", resourceCulture);
}
}
public static string PasswordIsVisibleTapToHide {
get {
return ResourceManager.GetString("PasswordIsVisibleTapToHide", resourceCulture);

View File

@@ -2220,6 +2220,9 @@
<data name="SpecialCharacters" xml:space="preserve">
<value>Special Characters (!@#$%^&amp;*)</value>
</data>
<data name="TapToGoBack" xml:space="preserve">
<value>Tap to go back</value>
</data>
<data name="PasswordIsVisibleTapToHide" xml:space="preserve">
<value>Password is visible, tap to hide.</value>
</data>