Re: Adding VO-pressable links to NSTextField
Re: Adding VO-pressable links to NSTextField
- Subject: Re: Adding VO-pressable links to NSTextField
- From: Nick Kocharhook <email@hidden>
- Date: Wed, 20 Aug 2014 20:46:45 +0000
- Thread-topic: Adding VO-pressable links to NSTextField
Absolutely, here it is:
Thanks for the link. I immediately noticed all the accessibilityArray* methods. It’s a bummer to learn that implementing those doesn’t fix the problem. :-(
Happy to accept pull requests, as well. I really appreciate you taking the time to suggest solutions. I’m glad to know that this has been done before and that I’ll eventually get to the bottom of it!
-Nick
On Aug 20, 2014, at 19:36, Boris Dušek < email@hidden> wrote:
I did hide `NSAccessibilityLinkTextAttribute ` there under `TATTR(Link)`, TATTR is a macro… :-)
I implemented links there as custom objects as well (subclass of NSObject).
I tried to implement most of the differences between my code mentioned above and your sample code (i.e. implementing the accessibilityArray* and accessibilityIndexOfChild: methods on the TextFieldCell, implementing accessibilityHitTest: and accessibilityFocusedUIElement
on the LinkProxyObject, implementing position and size properly for LinkProxyObject etc.), all to no avail.
One thing I wanted to suggest/ask - would it be possible for you (and would you be willing) to put the sample code on github? So that the progress is tracked properly and I could submit pull requests with my improvements? (There is always possibility to
send a link to download zipped version of any commit for GitHub repositories -
https://github.com/<user>/<repo>/archive/<commit-sha1>.zip)
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden