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
So far I have been referencing the Avalonia source code to figure out how to use things like AutomationProperties and ControlAutomationPeer. This is not documented anywhere in the documentation.
Anyway, perhaps someone knows the answer to this. When I have a button with an accessible name that looks something like this:
<Button AutomationProperties.Name="Do the thing">
<StackPanelOrientation="Horizontal">
<Icon /> <!-- some icon -->
<TextBlock>Do the thing</TextBlock>
</StackPanel>
</Button>
NVDA will see the button and the text inside of the button as 2 separate elements and read both of them separately depending on whether the mouse is over the text or just on the background of the button. Is there any way to stop this "bubbling" from happening?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So far I have been referencing the Avalonia source code to figure out how to use things like
AutomationProperties
andControlAutomationPeer
. This is not documented anywhere in the documentation.Anyway, perhaps someone knows the answer to this. When I have a button with an accessible name that looks something like this:
NVDA will see the button and the text inside of the button as 2 separate elements and read both of them separately depending on whether the mouse is over the text or just on the background of the button. Is there any way to stop this "bubbling" from happening?
Beta Was this translation helpful? Give feedback.
All reactions