0
<Grid Name="Simple Grid" >
    <Button AutomationProperties.Name="Simple Button" Name="Button" AutomationProperties.AccessibilityView="Control" AutomationProperties.HelpText="Help text for the button is set from XAML" Content="Button" HorizontalAlignment="Left" Margin="285,228,0,0" VerticalAlignment="Top"/>
    <Canvas AutomationProperties.Name="Simple Border" IsTapEnabled="True" Background="Black" Height="300" IsAccessKeyScope="True" Width="200" AutomationProperties.AccessibilityView="Control" AutomationProperties.HelpText="Help text for the border is set from XAML" HorizontalAlignment="Right"/>
</Grid>

在通用 Windows 应用程序的上述代码中,使用“讲述人”的辅助功能测试适用于 Button,而不适用于 Canvas。同样,它不适用于 Windows.UI.Xaml.Controls,如 Border、Image..

如何实现这些控件的可访问性?

4

0 回答 0