WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Read dynamic content in Android with Talkback

for

Number of posts in this thread: 3 (In chronological order)

From: pratik roy
Date: Thu, Oct 31 2019 4:16PM
Subject: Read dynamic content in Android with Talkback
No previous message | Next message →

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

From: Jonathan Avila
Date: Thu, Oct 31 2019 8:25PM
Subject: Re: Read dynamic content in Android with Talkback
← Previous message | Next message →

> 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 ADDRESS REMOVED = > On Behalf Of pratik roy
Sent: Thursday, October 31, 2019 6:16 PM
To: = EMAIL ADDRESS 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

From: pratik roy
Date: Sat, Nov 02 2019 1:53PM
Subject: Re: Read dynamic content in Android with Talkback
← Previous message | No next message

Thanks Jonathan, this would help.

Thanks & Regards
PRATIK ROY


On Thu, Oct 31, 2019 at 6:16 PM pratik roy < = EMAIL ADDRESS REMOVED = > wrote:

> 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
>