[Pt Run] Narrator support for result view navigation (#6146)

* Screen reader detecting List view

* Fixed narrator text for listview items and context menu items

* Renamed custom textbox to a more meanigful name

* Renamed custom textbox to a more meanigful name

* Fix formatting of LauncherControl.xaml

* Added support to control multiple elements
This commit is contained in:
Divyansh Srivastava
2020-09-02 13:34:07 -07:00
committed by GitHub
parent fc34c05a2f
commit 742f4fe36d
6 changed files with 60 additions and 5 deletions

View File

@@ -270,10 +270,15 @@ namespace PowerLauncher.ViewModel
return Result.GetHashCode();
}
public override string ToString()
public string SearchBoxDisplayText()
{
var display = string.IsNullOrEmpty(Result.QueryTextDisplay) ? Result.Title : Result.QueryTextDisplay;
return display;
}
public override string ToString()
{
return Result.ToString();
}
}
}