Last active
January 19, 2018 11:47
-
-
Save jossef/5069f268f375e8dc33cb6776b423e804 to your computer and use it in GitHub Desktop.
open accessibility
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| isMenuOpened: false, | |
| highlightedLinks: false, | |
| isMobileEnabled: false, | |
| grayscale: 0, | |
| brightness: 100, | |
| contrast: 100, | |
| maxZoomLevel: 3, | |
| minZoomLevel: 0.5, | |
| zoomStep: 0.2, | |
| zoom: 1, | |
| cursor: false, | |
| textSelector: '.open-accessibility-text', | |
| invert: false | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> | |
| <script src="https://cdn.rawgit.com/jossef/open-accessibility/master/dist/open-accessibility.min.js"></script> | |
| <link rel="stylesheet" href="https://cdn.rawgit.com/jossef/open-accessibility/master/dist/open-accessibility.min.css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| $('body').openAccessibility({ | |
| textSelector: 'h1,p' | |
| }); | |
| </script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| $(function () { | |
| $('body').openAccessibility(); | |
| }) | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment