Skip to main content


The developer of a book-reading app for Android has sought feedback from us. He wants to implement paragraph navigation for TalkBack in Epub books. Currently each page is displayed as a large, single paragraph which makes paragraph and section navigation impossible. Do you know how this can be implemented, or do you have a link to a page which describes the development approach? #Android #Androiddev

David Goldfield reshared this.

in reply to Accessible Android

make different lines, paragraphs, etc of the book be displayed in different label widgets, which will be picked up by talkback as different controls, so navigation from left to right among lines would be possible. Or, one can use granularity controls to go by paragraphs in talkback itself,, so yeah, that's also a thing that users can do.
in reply to Accessible Android

no problem, hopefully it works out. But I mean, the thing with granularity level by paragraph is something that we already could do, even before any changes, right?
in reply to the esoteric programmer

@esoteric_programmer As I mentioned in my previous message, not really. Given the way it displays text, granular paragraph navigation only displays text belonging to page 1 and can't move past the first page. So you might be on page 12, but granular navigation only captures page-one paragraphs. It also misses headings.
in reply to Accessible Android

only page 1 paragraphs? what? that's really really weird, can't imagine how that could be possible. O well, then my previous suggestion would work, that's how huawei's books app does it and it works
in reply to the esoteric programmer

@esoteric_programmer Yes, only page 1 paragraphs are displayed. We suggested that they take a look at Speech Central as it also displays paragraphs properly.
in reply to the esoteric programmer

@esoteric_programmer Of course, relying on granularity controls alone wouldn't be efficient because given the current large, one-paragraph approach per page, headings aren't detected either. Apps like this should really allow proper heading and paragraph-based navigation per page as users flick or swipe left and right.