diff --git a/src/Core/Controls/AuthenticatorViewCell/AuthenticatorViewCell.xaml b/src/Core/Controls/AuthenticatorViewCell/AuthenticatorViewCell.xaml
index 9f16b28ef..70b21fc50 100644
--- a/src/Core/Controls/AuthenticatorViewCell/AuthenticatorViewCell.xaml
+++ b/src/Core/Controls/AuthenticatorViewCell/AuthenticatorViewCell.xaml
@@ -122,6 +122,5 @@
Padding="0,0,1,0"
HorizontalOptions="Center"
VerticalOptions="Center"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n CopyTotp}" />
\ No newline at end of file
diff --git a/src/Core/Controls/CipherViewCell/CipherViewCell.xaml b/src/Core/Controls/CipherViewCell/CipherViewCell.xaml
index 2a4347fe3..d86a61f39 100644
--- a/src/Core/Controls/CipherViewCell/CipherViewCell.xaml
+++ b/src/Core/Controls/CipherViewCell/CipherViewCell.xaml
@@ -95,7 +95,6 @@
Margin="5, 0, 0, 0"
Text="{Binding Source={x:Static core:BitwardenIcons.Collection}}"
IsVisible="{Binding Cipher.Shared, Mode=OneTime}"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n Shared}"
AutomationId="CipherInCollectionIcon" />
@@ -120,7 +118,6 @@
Clicked="MoreButton_Clicked"
VerticalOptions="CenterAndExpand"
HorizontalOptions="EndAndExpand"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n Options}"
AutomationId="CipherOptionsButton" />
diff --git a/src/Core/Controls/DateTime/DateTimePicker.xaml b/src/Core/Controls/DateTime/DateTimePicker.xaml
index 173016526..bdb4e00d5 100644
--- a/src/Core/Controls/DateTime/DateTimePicker.xaml
+++ b/src/Core/Controls/DateTime/DateTimePicker.xaml
@@ -10,12 +10,10 @@
x:Name="_datePicker"
Grid.Column="0"
NullableDate="{Binding Date, Mode=TwoWay}"
- Format="d"
- AutomationProperties.IsInAccessibleTree="True" />
+ Format="d" />
+ Format="t" />
diff --git a/src/Core/Controls/DateTime/DateTimePicker.xaml.cs b/src/Core/Controls/DateTime/DateTimePicker.xaml.cs
index 889156c57..caca95865 100644
--- a/src/Core/Controls/DateTime/DateTimePicker.xaml.cs
+++ b/src/Core/Controls/DateTime/DateTimePicker.xaml.cs
@@ -18,8 +18,8 @@ namespace Bit.App.Controls
&&
BindingContext is DateTimeViewModel dateTimeViewModel)
{
- AutomationProperties.SetName(_datePicker, dateTimeViewModel.DateName);
- AutomationProperties.SetName(_timePicker, dateTimeViewModel.TimeName);
+ SemanticProperties.SetDescription(_datePicker, dateTimeViewModel.DateName);
+ SemanticProperties.SetDescription(_timePicker, dateTimeViewModel.TimeName);
_datePicker.PlaceHolder = dateTimeViewModel.DatePlaceholder;
_timePicker.PlaceHolder = dateTimeViewModel.TimePlaceholder;
diff --git a/src/Core/Controls/ExternalLinkItemView.xaml b/src/Core/Controls/ExternalLinkItemView.xaml
index fe2d93410..8a4252eea 100644
--- a/src/Core/Controls/ExternalLinkItemView.xaml
+++ b/src/Core/Controls/ExternalLinkItemView.xaml
@@ -21,7 +21,6 @@
TextColor="{DynamicResource TextColor}"
HorizontalOptions="End"
VerticalOptions="Center"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{Binding Title, Mode=OneWay, Source={x:Reference _contentView}}" />
diff --git a/src/Core/Controls/SendViewCell/SendViewCell.xaml b/src/Core/Controls/SendViewCell/SendViewCell.xaml
index 5379c0282..6a55a918d 100644
--- a/src/Core/Controls/SendViewCell/SendViewCell.xaml
+++ b/src/Core/Controls/SendViewCell/SendViewCell.xaml
@@ -73,7 +73,6 @@
Margin="5, 0, 0, 0"
Text="{Binding Source={x:Static core:BitwardenIcons.ExclamationTriangle}}"
IsVisible="{Binding Send.Disabled, Mode=OneTime}"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n Disabled}"
AutomationId="DisabledSendLabel" />
@@ -135,7 +130,6 @@
Clicked="MoreButton_Clicked"
VerticalOptions="CenterAndExpand"
HorizontalOptions="EndAndExpand"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n Options}"
AutomationId="SendOptionsButton" />
diff --git a/src/Core/Lists/ItemLayouts/CustomFields/BooleanCustomFieldItemLayout.xaml b/src/Core/Lists/ItemLayouts/CustomFields/BooleanCustomFieldItemLayout.xaml
index 27a57a487..e24800905 100644
--- a/src/Core/Lists/ItemLayouts/CustomFields/BooleanCustomFieldItemLayout.xaml
+++ b/src/Core/Lists/ItemLayouts/CustomFields/BooleanCustomFieldItemLayout.xaml
@@ -67,7 +67,6 @@
Grid.Row="0"
Grid.Column="2"
Grid.RowSpan="2"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n Options}" />
diff --git a/src/Core/Lists/ItemLayouts/CustomFields/HiddenCustomFieldItemLayout.xaml b/src/Core/Lists/ItemLayouts/CustomFields/HiddenCustomFieldItemLayout.xaml
index 47cf279c9..d1da7f176 100644
--- a/src/Core/Lists/ItemLayouts/CustomFields/HiddenCustomFieldItemLayout.xaml
+++ b/src/Core/Lists/ItemLayouts/CustomFields/HiddenCustomFieldItemLayout.xaml
@@ -57,7 +57,6 @@
IsEnabled="{Binding ShowViewHidden}"
IsSpellCheckEnabled="False"
IsTextPredictionEnabled="False"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{Binding Field.Name}"
AutomationId="HiddenCustomFieldValueEntry">
@@ -76,7 +75,6 @@
Grid.Row="0"
Grid.Column="1"
Grid.RowSpan="2"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n ToggleVisibility}"
AutomationId="HiddenCustomFieldShowValueButton" />
diff --git a/src/Core/Lists/ItemLayouts/CustomFields/LinkedCustomFieldItemLayout.xaml b/src/Core/Lists/ItemLayouts/CustomFields/LinkedCustomFieldItemLayout.xaml
index 084d0f0d2..ed00b0be3 100644
--- a/src/Core/Lists/ItemLayouts/CustomFields/LinkedCustomFieldItemLayout.xaml
+++ b/src/Core/Lists/ItemLayouts/CustomFields/LinkedCustomFieldItemLayout.xaml
@@ -57,7 +57,6 @@
Grid.Row="0"
Grid.Column="1"
Grid.RowSpan="2"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n Options}"
AutomationId="LinkedCustomFieldOptionsButton" />
diff --git a/src/Core/Lists/ItemLayouts/CustomFields/TextCustomFieldItemLayout.xaml b/src/Core/Lists/ItemLayouts/CustomFields/TextCustomFieldItemLayout.xaml
index 8ad28a14e..2b668fb7f 100644
--- a/src/Core/Lists/ItemLayouts/CustomFields/TextCustomFieldItemLayout.xaml
+++ b/src/Core/Lists/ItemLayouts/CustomFields/TextCustomFieldItemLayout.xaml
@@ -44,7 +44,6 @@
Grid.Row="1"
Grid.Column="0"
IsVisible="{Binding IsEditing}"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{Binding Field.Name}"
AutomationId="TextCustomFieldValueEntry" />
diff --git a/src/Core/Pages/Accounts/HomePage.xaml b/src/Core/Pages/Accounts/HomePage.xaml
index 371118940..f149cc2ba 100644
--- a/src/Core/Pages/Accounts/HomePage.xaml
+++ b/src/Core/Pages/Accounts/HomePage.xaml
@@ -22,7 +22,6 @@
Order="Primary"
Priority="-1"
UseOriginalImage="True"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n Account}"
AutomationId="AccountIconButton" />
diff --git a/src/Core/Pages/Accounts/LockPage.xaml b/src/Core/Pages/Accounts/LockPage.xaml
index 22459163b..6460303de 100644
--- a/src/Core/Pages/Accounts/LockPage.xaml
+++ b/src/Core/Pages/Accounts/LockPage.xaml
@@ -23,7 +23,6 @@
Order="Primary"
Priority="-1"
UseOriginalImage="True"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n Account}"
AutomationId="AccountIconButton" />
@@ -33,7 +32,6 @@
diff --git a/src/Core/Pages/Accounts/LoginPage.xaml b/src/Core/Pages/Accounts/LoginPage.xaml
index eafaef3d0..97963cdcd 100644
--- a/src/Core/Pages/Accounts/LoginPage.xaml
+++ b/src/Core/Pages/Accounts/LoginPage.xaml
@@ -24,7 +24,6 @@
Order="Primary"
Priority="-1"
UseOriginalImage="True"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n Account}"
AutomationId="AccountIconButton" />
@@ -34,7 +33,6 @@
+ SemanticProperties.Hint="{Binding PasswordVisibilityAccessibilityText}"/>
+ SemanticProperties.Hint="{Binding PasswordVisibilityAccessibilityText}" />
diff --git a/src/Core/Pages/Accounts/TwoFactorPage.xaml b/src/Core/Pages/Accounts/TwoFactorPage.xaml
index 2c7c6654b..7133744cf 100644
--- a/src/Core/Pages/Accounts/TwoFactorPage.xaml
+++ b/src/Core/Pages/Accounts/TwoFactorPage.xaml
@@ -30,7 +30,6 @@
IconImageSource="more_vert.png"
Order="Primary"
Command="{Binding MoreCommand}"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n Options}" />
@@ -144,9 +143,8 @@
Grid.Row="0"
Grid.Column="1"
Grid.RowSpan="2"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n ToggleVisibility}"
- AutomationProperties.HelpText="{Binding PasswordVisibilityAccessibilityText}"
+ SemanticProperties.Hint="{Binding PasswordVisibilityAccessibilityText}"
AutomationId="NewPasswordVisibilityButton" />
@@ -182,9 +180,8 @@
Grid.Row="0"
Grid.Column="1"
Grid.RowSpan="2"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n ToggleVisibility}"
- AutomationProperties.HelpText="{Binding PasswordVisibilityAccessibilityText}"
+ SemanticProperties.Hint="{Binding PasswordVisibilityAccessibilityText}"
AutomationId="ToggleRetypePasswordVisibilityButton" />
diff --git a/src/Core/Pages/Accounts/VerificationCodePage.xaml b/src/Core/Pages/Accounts/VerificationCodePage.xaml
index 557906a06..a346a4659 100644
--- a/src/Core/Pages/Accounts/VerificationCodePage.xaml
+++ b/src/Core/Pages/Accounts/VerificationCodePage.xaml
@@ -69,7 +69,6 @@
Command="{Binding TogglePasswordCommand}"
Grid.Row="1"
Grid.Column="1"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n ToggleVisibility}"/>
diff --git a/src/Core/Pages/Generator/GeneratorPage.xaml b/src/Core/Pages/Generator/GeneratorPage.xaml
index f368e712b..ecc067ced 100644
--- a/src/Core/Pages/Generator/GeneratorPage.xaml
+++ b/src/Core/Pages/Generator/GeneratorPage.xaml
@@ -36,7 +36,6 @@
x:Name="_historyItem"
x:Key="historyItem" />
@@ -119,7 +116,6 @@
Text="{Binding Source={x:Static core:BitwardenIcons.Clone}}"
Command="{Binding CopyCommand}"
Grid.Column="1"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n CopyUsername}"
AutomationId="CopyValueButton" />
@@ -161,7 +156,6 @@
Text="{Binding Source={x:Static core:BitwardenIcons.QuestionCircle}}"
Command="{Binding UsernameTypePromptHelpCommand}"
TextColor="{DynamicResource HyperlinkColor}"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n UsernamePromptHelpLink}"
VerticalOptions="Center"/>
@@ -414,7 +408,7 @@
@@ -446,7 +438,6 @@
Text="a-z"
StyleClass="box-label-regular"
HorizontalOptions="StartAndExpand"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n LowercaseAtoZ}"/>
@@ -464,7 +454,6 @@
Text="0-9"
StyleClass="box-label-regular"
HorizontalOptions="StartAndExpand"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n NumbersZeroToNine}"/>
@@ -482,7 +470,6 @@
Text="!@#$%^&*"
StyleClass="box-label-regular"
HorizontalOptions="StartAndExpand"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n SpecialCharacters}"/>
diff --git a/src/Core/Pages/Send/SendAddEditPage.xaml b/src/Core/Pages/Send/SendAddEditPage.xaml
index fb982303d..5d235e287 100644
--- a/src/Core/Pages/Send/SendAddEditPage.xaml
+++ b/src/Core/Pages/Send/SendAddEditPage.xaml
@@ -32,7 +32,6 @@
x:Key="closeItem" x:Name="_closeItem" />
@@ -137,9 +135,8 @@
HeightRequest="{Binding SegmentedButtonHeight}"
FontSize="{Binding SegmentedButtonFontSize}"
Clicked="TextType_Clicked"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n Text}"
- AutomationProperties.HelpText="{Binding TextTypeAccessibilityLabel}"
+ SemanticProperties.Hint="{Binding TextTypeAccessibilityLabel}"
AutomationId="SendTextButton"
Grid.Column="1">
@@ -255,7 +252,6 @@
@@ -300,7 +296,6 @@
SelectedIndex="{Binding DeletionDateTypeSelectedIndex}"
IsEnabled="{Binding SendEnabled}"
StyleClass="box-value"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n DeletionTime}"
AutomationId="SendDeletionOptionsPicker" />
@@ -323,7 +317,6 @@
NullableTime="{Binding DeletionDateTimeViewModel.Time, Mode=TwoWay}"
Format="t"
IsEnabled="{Binding SendEnabled}"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n DeletionTime}"
Grid.Column="1"
AutomationId="SendCustomDeletionTimePicker" />
@@ -344,7 +337,6 @@
SelectedIndex="{Binding ExpirationDateTypeSelectedIndex}"
IsEnabled="{Binding SendEnabled}"
StyleClass="box-value"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n ExpirationTime}"
AutomationId="SendExpirationOptionsPicker" />
@@ -369,7 +360,6 @@
PlaceHolder="--:-- --"
Format="t"
IsEnabled="{Binding SendEnabled}"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n ExpirationTime}"
Grid.Column="1"
AutomationId="SendCustomExpirationTimePicker" />
@@ -463,9 +453,8 @@
Text="{Binding ShowPasswordIcon}"
Command="{Binding TogglePasswordCommand}"
Margin="10,0,0,0"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n ToggleVisibility}"
- AutomationProperties.HelpText="{Binding PasswordVisibilityAccessibilityText}"
+ SemanticProperties.Hint="{Binding PasswordVisibilityAccessibilityText}"
AutomationId="SendShowHidePasswordButton" />
+ SemanticProperties.Hint="{Binding PasswordVisibilityAccessibilityText}" />
diff --git a/src/Core/Pages/Send/SendGroupingsPage/SendGroupingsPage.xaml b/src/Core/Pages/Send/SendGroupingsPage/SendGroupingsPage.xaml
index 48cdabfaa..84b32bd04 100644
--- a/src/Core/Pages/Send/SendGroupingsPage/SendGroupingsPage.xaml
+++ b/src/Core/Pages/Send/SendGroupingsPage/SendGroupingsPage.xaml
@@ -16,7 +16,6 @@
@@ -26,7 +25,6 @@
@@ -36,7 +34,6 @@
Clicked="About_Clicked" Order="Secondary" />
diff --git a/src/Core/Pages/Settings/AboutSettingsPage.xaml b/src/Core/Pages/Settings/AboutSettingsPage.xaml
index 335dbc0c6..9c141d092 100644
--- a/src/Core/Pages/Settings/AboutSettingsPage.xaml
+++ b/src/Core/Pages/Settings/AboutSettingsPage.xaml
@@ -73,7 +73,6 @@
TextColor="Black"
HorizontalOptions="End"
VerticalOptions="Center"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n CopyAppInformation}">
diff --git a/src/Core/Pages/Settings/BlockAutofillUrisPage.xaml b/src/Core/Pages/Settings/BlockAutofillUrisPage.xaml
index 0c62934f4..c9f956cf2 100644
--- a/src/Core/Pages/Settings/BlockAutofillUrisPage.xaml
+++ b/src/Core/Pages/Settings/BlockAutofillUrisPage.xaml
@@ -25,7 +25,6 @@
HeightRequest="120"
Margin="0,100,0,0"
IsVisible="{Binding ShowList, Converter={StaticResource inverseBool}}"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n ThereAreNoBlockedURIs}" />
@@ -79,7 +77,6 @@
HeightRequest="40"
Opacity="0.8"
Margin="14,5,14,10"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n NewBlockedURI}"
AutomationId="NewBlockedUriButton" />
diff --git a/src/Core/Pages/Settings/ExportVaultPage.xaml b/src/Core/Pages/Settings/ExportVaultPage.xaml
index 65a457f9e..d1647aa54 100644
--- a/src/Core/Pages/Settings/ExportVaultPage.xaml
+++ b/src/Core/Pages/Settings/ExportVaultPage.xaml
@@ -108,9 +108,8 @@
Command="{Binding TogglePasswordCommand}"
Grid.Row="1"
Grid.Column="1"
- AutomationProperties.IsInAccessibleTree="True"
SemanticProperties.Description="{u:I18n ToggleVisibility}"
- AutomationProperties.HelpText="{Binding PasswordVisibilityAccessibilityText}"
+ SemanticProperties.Hint="{Binding PasswordVisibilityAccessibilityText}"
IsVisible="{Binding UseOTPVerification, Converter={StaticResource inverseBool}}"
AutomationId="TogglePasswordVisibilityButton" />