fix: fix accessibility for dynamic generated form.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:u="https://irihi.tech/ursa"
|
||||
mc:Ignorable="d" d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
x:Class="HeadlessTest.Ursa.Controls.FormTests.AccessibilityTests.StaticForm2">
|
||||
<u:Form LabelWidth="200" LabelPosition="Left" LabelAlignment="Left">
|
||||
<u:FormItem Label="_Name">
|
||||
<TextBox Name="NameBox" Width="300" />
|
||||
</u:FormItem>
|
||||
<u:FormItem Label="_Email">
|
||||
<TextBox Name="EmailBox" Width="300" />
|
||||
</u:FormItem>
|
||||
</u:Form>
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user