58 Commits

Author SHA1 Message Date
fandd 94b5e51564 干掉github强依赖 2022-12-20 14:57:20 +08:00
Michael Jordan e9821054c3 Update version to 1.0.5 2016-12-12 17:20:41 -05:00
Michael Jordan 2c1df73617 Update version after creating tag at 1.0.4 2016-04-13 18:31:46 -04:00
Michael Jordan f1a49e8970 Update version to 1.0.4 r1.0.4 2016-04-13 18:28:41 -04:00
Michael Jordan 4933f5075a Add additional iOS accessibility features
Adds support for detecting:
- Bold Text
- Darker System Colors
- Grayscale
- Reduce Motion
- Reduce Transparency
- Speak Screen
- Speak Selection
- Switch Control Running
2016-04-13 18:24:42 -04:00
Daniel Wilson dbfde0134d add reduce motion for ios
limit reduce motion check to iOS 8+
2016-04-12 17:29:15 -04:00
Michael Jordan e989af802c Update version after creating tag at 1.0.3 2016-02-11 08:28:32 -05:00
Michael Jordan 3224bc2332 Update version to 1.0.3 r1.0.3 2016-02-11 08:23:53 -05:00
Michael Jordan e3ac5fc92f Fix issue #32 Doesn't work with cordova-plugin-crosswalk-webview
Use reflection for getView, getSettings, getTextSize/getTextZoom, and
setTextSize/setTextZoom so that the View does not need to be cast as an
android.webkit.WebView.
2016-02-11 08:22:36 -05:00
Michael Jordan 9714162405 Merge pull request #30 from optionfactory/master
Fix resume event passed to updateTextZoom as callback argument
2016-02-03 09:52:48 -05:00
Simone Baruzza 7961963ac2 Fix resume event passed to updateTextZoom as callback argument
Wrapped resume event handler to avoid event argument being passed
 to updateTextZoom and hence being called .apply() onto.
2016-02-03 09:39:53 +01:00
Michael Jordan 995295bdcd Update version after creating tag at 1.0.2 2015-12-16 15:40:13 -05:00
Michael Jordan af7394ccd3 Update version to 1.0.2 r1.0.2 2015-12-16 15:34:14 -05:00
Michael Jordan 71640de527 Fix Issue #26: Fails to compile with cordova-ios 4.0.0
Per @shazron, use `self.commandDelegate evalJs`.
2015-12-16 15:29:21 -05:00
Michael Jordan 188d5c583c Update version after creating tag at 1.0.1 2015-10-07 13:30:58 -04:00
Michael Jordan 6fb09a600d Update version to 1.0.1 r1.0.1 2015-10-07 13:28:50 -04:00
Michael Jordan 415b357e9a Issue 20: android 3.7.2 broken after android 4.0 fix
Use reflection to check for CordovaWebView.getView interface method so
that we can still compile using cordova-android 3.7.2.
2015-09-28 10:52:54 -04:00
Michael Jordan 382ba4a835 Update version after creating tag at 1.0.0 2015-09-25 09:15:22 -04:00
Michael Jordan 435745aa91 Remove licensing notice from README.md r1.0.0 2015-09-25 09:06:32 -04:00
Michael Jordan 3256a29085 Bump version and reorder package.json
Trying to ensure that README.md data appears on npmjs.com
2015-09-25 08:50:33 -04:00
Michael Jordan e9af64bc44 Issue 22: Please add package.json
Add package.json file and rename package id to follow npm convention.
2015-09-25 08:10:39 -04:00
Michael Jordan 3efce21dfd Merge pull request #18 from ajyong/master
Restore compatibility with Cordova Android 4.0+
2015-06-26 09:23:37 -04:00
Aaron Yong 37a7d11251 Restore compatibility with Cordova Android 4.0+
Fixes #17 and #13.  The WebView object is now accessed via a `getView()` method call on `CordovaWebView` objects.
2015-06-25 15:29:49 -06:00
Michael Jordan b35a21f724 Merge pull request #14 from rromerogar/master
Fix issue 13
2015-04-30 09:27:17 -04:00
Raúl Romero García 852cec5240 Fix issue 13 2015-04-30 15:22:33 +02:00
Shazron Abdullah 2fb3aa4c2b Updated version to 0.1.3
This is for the dependency plugin rename
2015-04-20 10:55:08 -07:00
Shazron Abdullah b8f90d3841 Merge pull request #9 from EddyVerbruggen/dependency-failure
Failed to load dependent plugins
2015-04-20 00:20:18 -07:00
EddyVerbruggen d0db5b05b5 Failed to load dependent plugins 2015-04-19 21:28:13 +02:00
EddyVerbruggen c924261c26 Failed to load dependent plugins 2015-04-19 21:13:33 +02:00
Michael Jordan c1e6bf44a8 [Android] Stop speaking current announcement before announcing something else.
TalkBack announces successive AccessibilityEvent.TYPE_ANNOUNCEMENT
events by adding rather than flushing the queue.

With Android’s migration away from using ChromeVox for WebViews, this
became more noticeable.

Adding AccessibilityManager.interrupt() before the announcement stops
any speech that may be in progress, before making an announcement.
0.1.2
2015-02-20 18:18:14 -05:00
Michael Jordan cb94a6c8eb Add preliminary support for Windows 8.1 2015-01-13 13:35:40 -05:00
Michael Jordan 226a7745fb Post notification with Unicode Character 'ZERO WIDTH SPACE' (U+200B) to stop VoiceOver speech 2014-12-19 19:18:43 -05:00
Michael Jordan 728fad52fd Update version number 2014-03-26 10:25:01 -04:00
Michael Jordan 59a53049b8 Documentation layout adjustments 2014-03-25 20:51:28 -04:00
Michael Jordan f0ef1528a6 More documentation updates 2014-03-25 20:46:37 -04:00
Michael Jordan ec550cfc6a Update documentation 2014-03-25 20:33:34 -04:00
Michael Jordan 54efe1452c Adjust behavior of MobileAccessibility.updateTextZoom and MobileAccessibility.getTextZoom
Adjust behavior of MobileAccessibility.updateTextZoom and
MobileAccessibility.getTextZoom so they both return the correct updated
zoom value to a callback method.

Adjust behavior of isTalkBackRunning and isVoiceOverRunning so that
they return true only for the appropriate platform.
2014-03-25 20:33:16 -04:00
Michael Jordan 9bff312e85 Add MobileAccessibilityNotifications to store notification constants 2014-03-25 20:28:31 -04:00
Michael Jordan ee1d59e437 Update copyright and license information 2014-03-25 20:26:08 -04:00
Michael Jordan 0e3986db4e Include Device and NetworkStatus explicitly for Android. 2014-03-15 18:13:05 -04:00
Michael Jordan bcdaa23d35 Add support for adjusting text in the WebView to the preferred zoom scale on iOS 7.
iOS will now support adjusting text to preferred point size.
2014-03-14 11:34:02 -04:00
Michael Jordan ab2950874b Organized imports 2014-03-14 10:41:22 -04:00
Michael Jordan f27ac8cf24 Update version number 2014-03-14 10:00:10 -04:00
Michael Jordan 728a327ab0 Add support for adjusting text in the WebView to the preferred zoom scale on Android.
More robust iOS support is forthcoming, but currently works with iOS7
Dynamic Type Fonts by setting the following css on the body and using
relatively sized fonts sizing for child containers, for example:

body {
   font: -apple-system-body;
}

body > .app {
  font-family: 'HelveticaNeue-Light', 'HelveticaNeue', Helvetica,
Arial, sans-serif;
  font-size:0.75em;
  font-weight: 200;
}
2014-03-06 21:44:05 -05:00
Michael Jordan 4b62a1f24a Include MediaAccessibility.framework for iOS as a weak reference 2014-03-03 16:41:07 -05:00
Michael Jordan f26cb3ae77 Inject AndroidVox locally when there is no network connection.
The WebView typically injects AndroidVox from a Google server when it
launches a page with TalkBack enabled, however, in the unlikely event
that the app launches without a network connection and AndroidVox has
not been cached from an previous connected session, AndroidVox will not
start and the app will be inaccessible. We try to mitigate this by
injecting AndroidVox from a local path.
2014-02-25 18:56:00 -05:00
Michael Jordan 06565d5b9d Correct MobileAccessibility.stop() method on iOS
Correct MobileAccessibility.stop() method on iOS, postNotification
requires a string as the second parameter, but we should allow a
notification without a string.

Simplify naming convention for accessibility status events.

closedcaptioningstatusdidchange -> closedcaptioningstatuschanged
guidedaccessstatusdidchange -> guidedaccessstatuschanged
invertcolorsstatusdidchange -> invertcolorsstatuschanged
monoaudiostatusdidchange  -> monoaudiostatuschanged
2014-02-11 18:33:47 -05:00
Michael Jordan b0016ab0df Catch javascript errors when cvox.ChromeVox.tts.stop is unavailable
refactor activateOrDeactivateChromeVox into a separate method.
2014-02-10 21:36:35 -05:00
Michael Jordan ea97c1faa1 Adding Android platform 2014-02-10 17:28:17 -05:00
Michael Jordan 7c7e8be5fc [trivial] update .gitignore to ignore Eclipse project file 2014-01-22 17:38:02 -05:00