

a built-in read-aloud feature: with play and pause, changing the voice and speed, and providing visual highlighting, karaoke style.the ability to change the visual presentation of the contents to suit your needs: personalizing text size, fonts, colors, line-length and spacing.flexible ways to move around publications: via the table of contents, jumping to a print page number, returning to bookmarks and using search.There are many different reading apps available with some great accessibility benefits. Introductionĭigital books are accessed using an app, device, or online service to open, read and navigate the content. Note: this article was last updated in March 2023. Reading Systems Accessibility Support Roundup You can save highlight by saving the first and last word id of an highlight into db or to some persistent storage.Next time when user opens the book get those words ids and highlight those spans. so you can show start ,end draggable pins on native view. You can get word x,y width height values also. Var touch = e.originalEvent.touches || e.originalEvent.changedTouches If((touchendStartStick = true || touchendEndStick = true) & currHVO != undefined) Then create a js file and inject same as jquery and write touch methods in it Wrap each word into a span with a unique id +"(document.getElementsByTagName('head') || document.getElementsByTagName('body')).appendChild(script) " +"if(document.getElementsByTagName('head') || document.getElementsByTagName('body'))" +"var script = document.createElement('script') " String script = "function includeJSFile()" String callBackToNative = " jsInterface.callNativeMethod('jstoobjc:"+data+"') "

String path = "file:///android_asset/JSLibraries/" once your url loads into webview in onload call back inject jquery lib to webview dom like this This is the way I have done text highlighting I am giving this answer based on my experience into development of native epub player for android and ios.
