You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Discussed in #18072 (transferring to issues, as this may be AvaloniaUI issue)
Originally posted by OpenSource03 January 29, 2025
Hello
I have an issue implementing full accessibility support: Focusable sibling elements must not have the same Name and LocalizedControlType
Code:
<TextBoxName="Digit1Box"Width="45"Height="45"MaxLength="1"FontSize="20"Background="#F8F8F8"Foreground="#18181B"BorderBrush="#6E56CF"CornerRadius="8"HorizontalContentAlignment="Center"VerticalContentAlignment="Center"IsEnabled="{Binding IsEnabled}"KeyDown="OnDigitKeyDown"AcceptsReturn="True"
AutomationProperties.Name="First digit of connection code"
AutomationProperties.HelpText="Enter a single digit between 0 and 9"Text="{Binding Digit1}"/>
<TextBoxName="Digit2Box"Width="45"Height="45"MaxLength="1"FontSize="20"Background="#F8F8F8"Foreground="#18181B"BorderBrush="#6E56CF"CornerRadius="8"HorizontalContentAlignment="Center"VerticalContentAlignment="Center"IsEnabled="{Binding IsEnabled}"KeyDown="OnDigitKeyDown"AcceptsReturn="True"
AutomationProperties.Name="Second digit of connection code"
AutomationProperties.HelpText="Enter a single digit between 0 and 9"Text="{Binding Digit2}"/>
<TextBoxName="Digit3Box"Width="45"Height="45"MaxLength="1"FontSize="20"Background="#F8F8F8"Foreground="#18181B"BorderBrush="#6E56CF"CornerRadius="8"HorizontalContentAlignment="Center"VerticalContentAlignment="Center"IsEnabled="{Binding IsEnabled}"KeyDown="OnDigitKeyDown"AcceptsReturn="True"
AutomationProperties.Name="Third digit of connection code"
AutomationProperties.HelpText="Enter a single digit between 0 and 9"Text="{Binding Digit3}"/>
<TextBoxName="Digit4Box"Width="45"Height="45"MaxLength="1"FontSize="20"Background="#F8F8F8"Foreground="#18181B"BorderBrush="#6E56CF"CornerRadius="8"HorizontalContentAlignment="Center"VerticalContentAlignment="Center"IsEnabled="{Binding IsEnabled}"KeyDown="OnDigitKeyDown"AcceptsReturn="True"
AutomationProperties.Name="Fourth digit of connection code"
AutomationProperties.HelpText="Enter a single digit between 0 and 9"Text="{Binding Digit4}"/>
Could someone provide me with guidance on how to resolve these?
Thanks.
The text was updated successfully, but these errors were encountered:
Discussed in #18072 (transferring to issues, as this may be AvaloniaUI issue)
Originally posted by OpenSource03 January 29, 2025
Hello
I have an issue implementing full accessibility support:
Focusable sibling elements must not have the same Name and LocalizedControlType
Code:
Could someone provide me with guidance on how to resolve these?
Thanks.
The text was updated successfully, but these errors were encountered: