Describe the bug
Since the close button is icon only, you should set AutomationProperties.Name to the name of the button. Today it's not set so screen reads will simply say 'close'.
To Reproduce
Steps to reproduce the behavior:
Launch Narrator or any other screen reader.
Open an overlay dialog like the settings dialog.
Press tab to reach the close button.
Notice that the screen reader simply says button instead of 'Close button'.
System(s) that problem occurred on
Windows 11 Insider preview build 22000.61, PC x64
Describe the bug Since the close button is icon only, you should set AutomationProperties.Name to the name of the button. Today it's not set so screen reads will simply say 'close'.
To Reproduce Steps to reproduce the behavior:
System(s) that problem occurred on Windows 11 Insider preview build 22000.61, PC x64