Adding support for hyperlink and alignment text attributes
Adding support for hyperlink and alignment text attributes
- Subject: Adding support for hyperlink and alignment text attributes
- From: Charlie Powell <email@hidden>
- Date: Mon, 12 Oct 2015 22:03:03 +0000
- Thread-topic: Adding support for hyperlink and alignment text attributes
I’m attempting to add support for inline hyperlinks and paragraph alignment in a portion of my application where users can edit text. I’m already supporting most of the attributes for accessibilityAttributedStringForRange: (font, underline,
color, etc.) and now want to add support for hyperlinks for users that want to use shortcuts like VO-Command-U, and similarly for paragraph alignment information when doing VO-T (left/center/right aligned).
I had originally assumed that NSAccessibilityLinkTextAttribute was what I needed for hyperlinks, but it seems that’s actually intended for the VO-J shortcut to move focus to another element entirely. Pages and TextEdit seem to have support
for this and alignment, but I can’t find anything in the documentation about how to support it. If it matters, I have an NSView implementing NSTextInputClient.
Anyone know what I can do here?
|
_______________________________________________
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