The issue can't reproduce on .NET SDK 3.1 and .NET 4.8.
.NET Core Version:
.NET SDK 6.0.100-alpha.1.20514.15
Have you experienced this same bug with .NET Framework?:
No
Problem description:
Missing the 'linkLabel1' link level for LinkLabel control in the inspect tool with UI Automation mode.
Minimal repro:
Or
Expected behavior:
Have the correct levels displayed for linkLabel1 control in the Inspect tool.
Actual Behavior:
Missing the "linkLabel1 link" level for LinkLabel control in the inspect tool.
@Zheng-Li01 - great bug! Do you happen to know when it regressed?
@merriemcgaw - we are not showing LINK element of the link label... so the user can't click it, we should service it....
@vladimir-krestov - is this a fallout from text patterns?
@Tanya-Solyanik, verified the issue from 5.0.rc2 to 5.0.100-preview.1.20155.7(https://dotnet.microsoft.com/download/dotnet/5.0), the issue reproduce all the time.
Verified this issue with .NET SDK 6.0.100-alpha.1.20562.2, it is fixed that have the correct levels displayed for linkLabel1 control in the Inspect tool.

Verified this issue in .Net SDK 5.0.101 build, this issue is fixed.
Most helpful comment
Verified this issue in .Net SDK 5.0.101 build, this issue is fixed.