You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm interested in making the Mention, Hashtag, and URL elements accessible. We need this for our automated test suite, which relies on accessibility labels. But it's also just a good thing to provide for people who need it.
I'm not 100% sure how to do it, but I'll try to copy what TTTAttributedLabel is doing.
The text was updated successfully, but these errors were encountered:
@polqf, instead of the TTTAttributedLabel approach, would you be interested in doing this via accessibility actions? I figure this could work as follows:
@-mentions will have action name "Navigate to mentioned user "
#-hashtags will have action name: "Navigate to hash tag "
urls will have action name: "Navigate to "
custom types would probably be: "Navigate to "
and obviously we would add methods for overriding the action names for all the ones listed above. I could probably work on this approach and try to get a PR for this if you think this would be a good approach.
I'm interested in making the Mention, Hashtag, and URL elements accessible. We need this for our automated test suite, which relies on accessibility labels. But it's also just a good thing to provide for people who need it.
I'm not 100% sure how to do it, but I'll try to copy what TTTAttributedLabel is doing.
The text was updated successfully, but these errors were encountered: