4

I have a UILabel with text such as the following:

Please search Google for the answer.

I'm aware you can make links tappable in a UILabel using a UITapGestureRecognizer via a solution like this. The problem is that if the user is visually impaired and relies on a screen reader, the screen reader doesn't know about the tappable link in the text.

How can I get a tappable link in a UILabel that is accessible via a screen reader?

Ideally I'm looking for a solution that still works with UILabel rather than a readonly UITextView.

Community
  • 1
  • 1
Senseful
  • 86,719
  • 67
  • 308
  • 465

1 Answers1

0

Simple tap recogniser should help. with simple google search I landed on this tutorial.

Abhishek
  • 454
  • 3
  • 9
  • 1
    Thanks, but I'm aware of how to do it with a tap gesture recognizer (I'll update the question to clarify that). What I'm looking for is how to make it **accessible** for blind people, for example. In other words, how do I allow a *screen reader* to detect the link? – Senseful Feb 03 '17 at 18:33