Commit 6fb4648
Fix Hyperlink UIA Name including control type on Text page (#779)
The Hyperlink sample on the Text > Hyperlink page used 'Hyperlink' as its
visible text, so its UI Automation Name matched its LocalizedControlType,
violating WCAG/MAS 4.1.2 (Name, Role, Value). Change the link text to
'Microsoft' (its navigation target) so the Name is meaningful and no longer
repeats the control type. Also update the displayed XamlCode snippet to match.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 30ee594 commit 6fb4648
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments