Giter Club home page Giter Club logo

clickabletextwithurlexample's Introduction

ClickableTextWithUrlExample

Example app demonstrating the reported Android Issue in Jetpack Compose where URLAnnotation is read correctly by Talkback, but the onClick lambda is not called.

Steps to Reproduce:

  1. Turn on Talkback in Accessibility settings
  2. Run app
  3. App will display a single line of text
  4. Part of this text will be a URLAnnotation containing a link
  5. Open the Talkback action menu per the prompt
  6. Select "Links" in Talkback menu
  7. Select the link to trigger the onClick method call, which opens the browser.

Expected:

  • Talkback correctly recognizes the link in the text
  • Talkback shows the link in the Talkback menu
  • When the link is selected in the Talkback menu, the onClick is called in ClickableText and the user is navigated to the browser.

Actual:

  • The onClick for the ClickableText is never called. Note that it is not the browser navigation that is broken. This can be confirmed using the logs.

Screen Recording: https://user-images.githubusercontent.com/6220053/195464922-86f367fc-a97f-4fd5-9db6-75d8b1433df0.mp4

clickabletextwithurlexample's People

Contributors

firemaples avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.