dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.25k stars 1.76k forks source link

[WinUI] SearchBar semantic hint vs. placeholder needs to be clarified #3913

Open rachelkang opened 2 years ago

rachelkang commented 2 years ago

Description

Semantic hint is never read aloud from the searchbar control on WinUI. The placeholder is read aloud when there is no text entered. The expected behavior needs to be clarified and the actual behavior needs to be corrected to match.

Steps to Reproduce

  1. Run MAUI sample on Windows
  2. Navigate to SemanticsPage
  3. Turn on Narrator
  4. Click on SearchBar control

Version with bug

Preview 11

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

WinUI

Did you find any workaround?

No response

Relevant log output

No response

shimingsg commented 2 years ago

verified with VS 17.2.0 Preview 2.0 [32228.609.main]: searchbar with Placeholder or not, hint not read. if searchbar with Placeholder, the value of Placeholder would be read. demo: 3913.zip

XamlTest commented 1 year ago

Verified this issue on Visual Studio Enterprise 17.6.0 Preview 2.0. Repro on Windows with below Project:

  1. Semantic hint is never read aloud from the search bar
  2. The placeholder are read aloud with or without text. 3913.zip