Skip to content

Commit

Permalink
[UWP] Add accessible names to all action buttons (#3528)
Browse files Browse the repository at this point in the history
Fixes #3527
  • Loading branch information
paulcam206 authored and shalinijoshi19 committed Nov 1, 2019
1 parent 7609f84 commit dc90532
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions source/uwp/Renderer/lib/ActionHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,12 @@ namespace AdaptiveNamespace::ActionHelpers
THROW_IF_FAILED(action->get_IconUrl(iconUrl.GetAddressOf()));

ComPtr<IButton> localButton(button);
<<<<<<< HEAD
ComPtr<IAutomationPropertiesStatics> automationProperties;
THROW_IF_FAILED(GetActivationFactory(
HStringReference(RuntimeClass_Windows_UI_Xaml_Automation_AutomationProperties).Get(), &automationProperties));
ComPtr<IDependencyObject> buttonAsDependencyObject;
THROW_IF_FAILED(localButton.As(&buttonAsDependencyObject));
THROW_IF_FAILED(automationProperties->SetName(buttonAsDependencyObject.Get(), title.Get()));
=======
>>>>>>> 1810703ba... [UWP] Clean up XamlBuilder (#3457)

// Check if the button has an iconUrl
if (iconUrl != nullptr)
Expand Down

0 comments on commit dc90532

Please sign in to comment.