NSView - Graphics - macOS Accessibility

To support perfect Accessibility on macOS one needs to subclass NSView, but if doing that we loose the ability to have Xojo Graphics on a Custom Control, which takes out any ability to let the Xojo user draw anything in events.

Is there any good workaround to have both Subclasses NSView and Graphics ? or to inject the needed protocol to support the disability things on macOS ?

Same thing really applies also within Xojo if you want users to be able to create controls within Xojo then they too need to be able to support the macOS accessibility API’s.

What accessibility API’s are we talking about?

NSAccessibilityButton. (For now just this one here). One implements this one by letting the NSView implement this protocol.