File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
vnext/Microsoft.ReactNative/Fabric/Composition Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ HRESULT __stdcall CompositionDynamicAutomationProvider::GetPatternProvider(PATTE
139139 auto accessibilityRole = props->accessibilityRole ;
140140 // Invoke control pattern is used to support controls that do not maintain state
141141 // when activated but rather initiate or perform a single, unambiguous action.
142- if (patternId == UIA_InvokePatternId && accessibilityRole == " " || accessibilityRole == " button" ||
142+ if (patternId == UIA_InvokePatternId && accessibilityRole == " button" ||
143143 accessibilityRole == " imagebutton" ||
144144 accessibilityRole == " link" || accessibilityRole == " splitbutton" || (accessibilityRole == " menuitem" && props->onAccessibilityTap ) || (accessibilityRole == " treeitem" && props->onAccessibilityTap )) {
145145 *pRetVal = static_cast <IInvokeProvider *>(this );
You can’t perform that action at this time.
0 commit comments