简体   繁体   中英

Is it possible to inform TalkBack word pronunciation based on word type?

Is there any sort of TalkBack screen reader markup to inform the TTS how to pronounce a word based on it's type? For example, 'read' pronounced in past or present tense? Or 'bass' being pronounced as a fish or musical instrument?

Maybe, depending on the type of widget you're using. android:contentDescription might be what you're looking for. But I would not recommend trying to force the screen reader to announce something a certain way. If you want "read" announced as past tense and you have a contentDescription of "red", while that might sound correct when using a screen reader, it will not read correctly if using a Braille device. The user will read "red" in Braille letters instead of "read" and that will be confusing.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM