WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Read dynamic content in Android with Talkback

for

From: Jonathan Avila
Date: Oct 31, 2019 8:25PM


> Is there anything like that available in Android Native?

Yes, both Android and iOS support announcement of text through an API. Android also has live regions

Android announce string
announceForAccessibility(CharSequence text)
Convenience method for sending a AccessibilityEvent#TYPE_ANNOUNCEMENT AccessibilityEvent to suggest that an accessibility service announce the specified text to its users.

Android live regions
setLiveRegion
Added in API level 19
public void setLiveRegion (int mode)
Sets the node's live region mode.

Jonathan Avila
Level Access

-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of pratik roy
Sent: Thursday, October 31, 2019 6:16 PM
To: <EMAIL REMOVED>
Subject: [WebAIM] Read dynamic content in Android with Talkback

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Hi Everyone,

I am working on a Native Android App where I need to notify user about a change on the page. Normally what we do using aria-live or role=alert in web. Is there anything like that available in Android Native?

Please let me know if anyone knows anything about it.

Thanks,
Pratik
--
Thanks & Regards
PRATIK ROY