TAB navigation allows you to navigate to hidden Hyperlinks
Open
Bug
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
* .NET Core Version: 3.1
* Windows version: Windows 10 64bit
* Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes
**Problem description:**
Even if the Visibility of the TextBox is set to Collapsed, you can still navigate to internal hyperlinks via TAB navigation.
This can cause unintended hyperlink processing.
**Minimal repro:**
```
LINK
```
```
private void Hyperlink_Click(object sender, RoutedEventArgs e)
{
MessageBox.Show("Clicked");
}
```
1. Press TAB key -> Focus moves to invisible Hyperlink.
2. Press Enter key -> Hyperlink event is executed.
Contributor guide
Assessment
This issue has not been assessed yet.