diff options
-rw-r--r-- | win/CS/HandBrakeWPF/Controls/NumberBox.xaml | 4 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Controls/SourceSelection.xaml | 6 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/MainView.xaml | 28 |
3 files changed, 19 insertions, 19 deletions
diff --git a/win/CS/HandBrakeWPF/Controls/NumberBox.xaml b/win/CS/HandBrakeWPF/Controls/NumberBox.xaml index d8248d4e1..1a9dbe6af 100644 --- a/win/CS/HandBrakeWPF/Controls/NumberBox.xaml +++ b/win/CS/HandBrakeWPF/Controls/NumberBox.xaml @@ -150,7 +150,7 @@ <RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
- <Button
+ <Button AutomationProperties.Name="Increase Number"
Style="{StaticResource UpButton}"
Grid.Row="0"
FontSize="4"
@@ -160,7 +160,7 @@ Style="{StaticResource Arrow}"
Points="4,0 0,4 8,4" />
</Button>
- <Button
+ <Button AutomationProperties.Name="Decrease Number"
Style="{StaticResource DownButton}"
Grid.Row="1"
FontSize="4"
diff --git a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml index 7385f9102..dde18c292 100644 --- a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml +++ b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml @@ -36,7 +36,7 @@ <StackPanel Grid.Row="2" Orientation="Vertical" HorizontalAlignment="Left" Margin="5,5,0,0">
<!-- Ctrl + R -->
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" cal:Message.Attach="[Event Click] = [Action FolderScan]"
+ <Button AutomationProperties.Name="Choose Folder to Scan" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" cal:Message.Attach="[Event Click] = [Action FolderScan]"
Margin="0,0,0,7" Padding="8" HorizontalAlignment="Left">
<StackPanel Orientation="Horizontal" MinWidth="100">
@@ -49,7 +49,7 @@ </Button>
<!--Ctrl + F-->
- <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" cal:Message.Attach="[Event Click] = [Action FileScan]"
+ <Button AutomationProperties.Name="Choose File to Scan" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" cal:Message.Attach="[Event Click] = [Action FileScan]"
Margin="0,0,0,7" Padding="8" HorizontalAlignment="Left">
<StackPanel Orientation="Horizontal" MinWidth="100">
<Image Source="../Views/Images/File32.png" Width="32" />
@@ -66,7 +66,7 @@ <Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
cal:Message.Attach="[Event Click] = [Action ProcessDrive($this.Tag)]"
Margin="0,0,0,10" Padding="8" HorizontalAlignment="Left"
- Tag="{Binding}">
+ Tag="{Binding}" AutomationProperties.Name="Choose Disc to Scan">
<StackPanel Orientation="Horizontal" MinWidth="100">
<Image Source="../Views/Images/Disc.png" Width="32" />
<StackPanel Orientation="Vertical">
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml b/win/CS/HandBrakeWPF/Views/MainView.xaml index f243ea6b0..d6365c5e5 100644 --- a/win/CS/HandBrakeWPF/Views/MainView.xaml +++ b/win/CS/HandBrakeWPF/Views/MainView.xaml @@ -180,7 +180,7 @@ KeyboardNavigation.TabNavigation="Continue"
>
- <Button Name="SelectSource"
+ <Button Name="SelectSource" x:Uid="Choose Source" AutomationProperties.Name="Choose Source"
Micro:Message.Attach="[Event Click] = [Action SelectSourceWindow]">
<StackPanel Orientation="Horizontal">
<Image Width="32"
@@ -196,7 +196,7 @@ <Separator />
- <Button Name="Start"
+ <Button Name="Start" AutomationProperties.Name="Start Encode"
Micro:Message.Attach="[Event Click] = [Action StartEncode]"
Visibility="{Binding IsEncoding,
Converter={StaticResource boolToVisConverter},
@@ -214,7 +214,7 @@ </StackPanel>
</Button>
- <Button Name="Stop"
+ <Button Name="Stop" AutomationProperties.Name="Stop Encode"
Micro:Message.Attach="[Event Click] = [Action StopEncode]"
Visibility="{Binding IsEncoding,
Converter={StaticResource boolToVisConverter},
@@ -233,7 +233,7 @@ </StackPanel>
</Button>
- <Button Name="Pause"
+ <Button Name="Pause" AutomationProperties.Name="Pause"
Micro:Message.Attach="[Event Click] = [Action PauseEncode]"
Visibility="{Binding CanPause,
Converter={StaticResource boolToVisConverter},
@@ -256,7 +256,7 @@ <MenuItem>
<MenuItem.Header>
<StackPanel Orientation="Horizontal">
- <Button Name="QueueDrop"
+ <Button Name="QueueDrop" AutomationProperties.Name="Add to Queue"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
HorizontalContentAlignment="Stretch"
@@ -305,12 +305,12 @@ />
</StackPanel>
</MenuItem.Header>
- <MenuItem Header="Add All" Micro:Message.Attach="[Event Click] = [Action AddAllToQueue]" />
- <MenuItem Header="Add Selection" Micro:Message.Attach="[Event Click] = [Action AddSelectionToQueue]" />
+ <MenuItem Header="Add All" Micro:Message.Attach="[Event Click] = [Action AddAllToQueue]" AutomationProperties.Name="Add all to Queue" />
+ <MenuItem Header="Add Selection" Micro:Message.Attach="[Event Click] = [Action AddSelectionToQueue]" AutomationProperties.Name="Add Selection to Queue" />
</MenuItem>
</Menu>
- <Button Name="ShowQueue" Micro:Message.Attach="[Event Click] = [Action OpenQueueWindow]">
+ <Button Name="ShowQueue" AutomationProperties.Name="Show Queue" Micro:Message.Attach="[Event Click] = [Action OpenQueueWindow]">
<StackPanel Orientation="Horizontal">
<Image Width="32"
Height="32"
@@ -326,7 +326,7 @@ <Separator />
- <Button Name="Preview" Micro:Message.Attach="[Event Click] = [Action OpenPreviewWindow]">
+ <Button Name="Preview" AutomationProperties.Name="Preview Encode" Micro:Message.Attach="[Event Click] = [Action OpenPreviewWindow]" >
<StackPanel Orientation="Horizontal">
<Image Width="32"
Height="32"
@@ -340,7 +340,7 @@ </StackPanel>
</Button>
- <Button Name="ActivityWindow" Micro:Message.Attach="[Event Click] = [Action OpenLogWindow]">
+ <Button Name="ActivityWindow" AutomationProperties.Name="Activity Window" Micro:Message.Attach="[Event Click] = [Action OpenLogWindow]">
<StackPanel Orientation="Horizontal">
<Image Width="32"
Height="32"
@@ -556,7 +556,7 @@ <RowDefinition Height="Auto" />
</Grid.RowDefinitions>
- <ListBox HorizontalAlignment="Stretch"
+ <ListBox HorizontalAlignment="Stretch" AutomationProperties.Name="Presets List"
VerticalAlignment="Stretch" ItemsSource="{Binding Source={StaticResource presetsCvs}}"
SelectedItem="{Binding SelectedPreset, Mode=TwoWay}" BorderThickness="0,0,0,1"
BorderBrush="LightGray"
@@ -586,7 +586,7 @@ Loaded="ToolBarLoaded"
KeyboardNavigation.TabNavigation="Continue"
>
- <Button Micro:Message.Attach="[Event Click] = [Action PresetAdd]" >
+ <Button Micro:Message.Attach="[Event Click] = [Action PresetAdd]" AutomationProperties.Name="Add Preset">
<Button.Content>
<StackPanel Orientation="Horizontal">
<Image Width="20"
@@ -601,7 +601,7 @@ </StackPanel>
</Button.Content>
</Button>
- <Button Micro:Message.Attach="[Event Click] = [Action PresetRemove]">
+ <Button Micro:Message.Attach="[Event Click] = [Action PresetRemove]" AutomationProperties.Name="Remove Preset">
<Button.Content>
<StackPanel Orientation="Horizontal">
<Image Width="20"
@@ -617,7 +617,7 @@ </StackPanel>
</Button.Content>
</Button>
- <Menu Background="Transparent">
+ <Menu Background="Transparent" AutomationProperties.Name="Preset Options Dropdown">
<MenuItem ToolBar.OverflowMode="Never">
<MenuItem.Header>
<StackPanel Orientation="Horizontal">
|