-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
accessibility ♿bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviorhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesmarkdown 📑Issues related to MarkdownIssues related to Markdown
Milestone
Description
Describe the bug
A clear and concise description of what the bug is.
Setting the AutomationProperties.AutomationID in the XAML does not actually set the AutomationID of the control.
- Is this bug a regression in the toolkit? If so, what toolkit version did you last see it work:
Steps to Reproduce
Steps to reproduce the behavior:
- Create a MarkdownTextBlock
- Set the AutomationProperties.AutomationID
- Observe using any testing framework or inspection tool to see the value is not set
Expected behavior
A clear and concise description of what you expected to happen.
I would expect the AutomationID to properly be set
Screenshots
If applicable, add screenshots to help explain your problem.
This image shows the use of MarkdownTextBlock with the AutomationID set, but the inspection tool shows the property is not present

This images shows that the inspection tool does properly work, as the AutomationID for the overview TextBlock is set, and you can see it present in the inspection tool window

Environment
NuGet Package(s):
Package Version(s):
Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ X ] May 2019 Update (18362)
- [ ] Insider Build (build number: )
App min and target version:
- [ ] Fall Creators Update (16299)
- [ min ] April 2018 Update (17134)
- [ X ] October 2018 Update (17763)
- [ X ] May 2019 Update (18362)
- [ X ] Insider Build (xxxxx)
Device form factor:
- [ X ] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT
Visual Studio
- [ ] 2017 (version: )
- [ X ] 2019 (version: )
- [ ] 2019 Preview (version: )
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
accessibility ♿bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviorhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesmarkdown 📑Issues related to MarkdownIssues related to Markdown