diff --git a/components/speechtotextbutton/overview.md b/components/speechtotextbutton/overview.md index e07277703..f08bb0e5d 100644 --- a/components/speechtotextbutton/overview.md +++ b/components/speechtotextbutton/overview.md @@ -40,8 +40,8 @@ The SpeechToTextButton component exposes several public methods that you can cal >caption Example of Calling a Method by Reference -
-````RAZOR + +````RAZOR.skip-repl @code { @@ -52,6 +52,14 @@ The SpeechToTextButton component exposes several public methods that you can cal } ```` +## Limitations + +When you use the SpeechToTextButton in the Edge browser or in a Blazor MAUI Hybrid App, the spoken language is not detected automatically. To ensure correct behavior, you must set the SpeechToTextButton `Lang` parameter. This is required because these environments do not follow the automatic language resolution described in the [MDN Web Speech API documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/lang). + +````RAZOR.skip-repl + +```` + ## Supported Browsers The SpeechToTextButton component relies on the Web Speech API. For a list of supported browsers, refer to the [Web Speech API documentation](https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API#browser_compatibility).