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
Describe the bug
Hyperlinks throughout the app use the default WPF hyperlink, which causes both NVDA and JAWS to repeat the text in the link. Using the "Learn more about inspect" link from the inspect string, the UIA tree shows a non-focusable Text control with a Name of "Learn more about inspect". This Text control has a focusable Hyperlink child whose name defaults to the visible text, so its Name is also "Learn more about inspect".
When an AT reads this, it reads the Text's Name, followed by the Hyperlink's name, followed by the type. This translates to "Learn more about inspect, Learn more about inspect Link"
It reads correctly if we set either of the Name properties to just a whitespace string, but that causes the "no whitespace" rule to fail. It might be possible to split the names between the controls, maybe "Learn more" for the Text control and "about inspect" for the Hyperlink, but that's really a hack and it wouldn't be an option for links with a Name that consists of a single word.
To Reproduce
Steps to reproduce the behavior:
Start AIWin
Pause it in inspect mode, so the inspect mode text is displayed
Read the links on the inspect page using either NVDA or JAWS
Note that link text is repeated. Ideally it would not be repeated
Desktop (please complete the following information):
OS: Windows 11 22H2
Accessibility Insights for Windows Version: 1.1.2459.1
Additional context
Filing this to have it documented. There are about 25 Hyperlinks spread throughout the app, so a single-location fix (maybe a link class that uses a custom AutomationPeer) would allow us to address this throughout the application
The text was updated successfully, but these errors were encountered:
Describe the bug
Hyperlinks throughout the app use the default WPF hyperlink, which causes both NVDA and JAWS to repeat the text in the link. Using the "Learn more about inspect" link from the inspect string, the UIA tree shows a non-focusable Text control with a Name of "Learn more about inspect". This Text control has a focusable Hyperlink child whose name defaults to the visible text, so its Name is also "Learn more about inspect".
When an AT reads this, it reads the Text's Name, followed by the Hyperlink's name, followed by the type. This translates to "Learn more about inspect, Learn more about inspect Link"
It reads correctly if we set either of the Name properties to just a whitespace string, but that causes the "no whitespace" rule to fail. It might be possible to split the names between the controls, maybe "Learn more" for the Text control and "about inspect" for the Hyperlink, but that's really a hack and it wouldn't be an option for links with a Name that consists of a single word.
To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
Additional context
Filing this to have it documented. There are about 25 Hyperlinks spread throughout the app, so a single-location fix (maybe a link class that uses a custom
AutomationPeer
) would allow us to address this throughout the applicationThe text was updated successfully, but these errors were encountered: