Add full accessibility to the NativeScript framework
WARNING: The code is NOT on NPM yet, the code is only available to Patreon supporters. THIS is on NPM to be used as a Placeholder so that this plugin does have a home when it is finally released.
The actual code is released under what I call the PATRON License, meaning you are free to include this in any type of program as long as you downloaded this when you were a current patron and/or sponsor, and got the file directly from my patreon post. It will be released under a proper open source license at a time of my choosing (typically after a couple months of exclusive access by sponsor's). At that point the product will be re-released under the MIT license. -- However for entities that need a support contract, changes, enhancements and/or a commercial license please contact me at http://nativescript.tools.
I also do contract work; so if you have a module you want built for NativeScript (or any other softw
Download from the patreon link
tns plugin add nativescript-accessibility-1.0.0.tgz
To use the module you just
require( "nativescript-accessibility" );
Notice: You do NOT need to keep a reference to it; and you only need to load it once.
It will automatically attach its methods to all the proper classes in the NativeScript library making it act as if they are built in.
XML/Declarative ui access
accessibilityText (String = defaults to not set)
This is the text for a screen reader to read (or other accessibility device)
someViewElement.accessibilityText = "A Screen reader will read this text.";
accessibilityHidden (Boolean = defaults to false)
This allows you to hide this object from a accessibility device
someViewElement.accessibilityHidden = true;