sanity-plugin-all-in-one-accessibility 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +160 -0
  3. package/dist/index.d.mts +7 -0
  4. package/dist/index.d.ts +7 -0
  5. package/dist/index.js +1096 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.mjs +1099 -0
  8. package/dist/index.mjs.map +1 -0
  9. package/package.json +99 -0
  10. package/sanity.json +8 -0
  11. package/src/assets/css/bootstrap.min.css +11722 -0
  12. package/src/assets/css/style.css +3204 -0
  13. package/src/assets/css/style.css--06-Nov-2023.css +1102 -0
  14. package/src/assets/css/style.css.map +1 -0
  15. package/src/assets/css/style.scss +2730 -0
  16. package/src/assets/images/ada.svg +17 -0
  17. package/src/assets/images/aioa-icon-type-1.svg +1 -0
  18. package/src/assets/images/aioa-icon-type-10.svg +1 -0
  19. package/src/assets/images/aioa-icon-type-11.svg +1 -0
  20. package/src/assets/images/aioa-icon-type-12.svg +1 -0
  21. package/src/assets/images/aioa-icon-type-13.svg +1 -0
  22. package/src/assets/images/aioa-icon-type-14.svg +29 -0
  23. package/src/assets/images/aioa-icon-type-15.svg +26 -0
  24. package/src/assets/images/aioa-icon-type-16.svg +17 -0
  25. package/src/assets/images/aioa-icon-type-17.svg +24 -0
  26. package/src/assets/images/aioa-icon-type-18.svg +20 -0
  27. package/src/assets/images/aioa-icon-type-19.svg +25 -0
  28. package/src/assets/images/aioa-icon-type-1_new.svg +1 -0
  29. package/src/assets/images/aioa-icon-type-2.svg +1 -0
  30. package/src/assets/images/aioa-icon-type-20.svg +24 -0
  31. package/src/assets/images/aioa-icon-type-21.svg +28 -0
  32. package/src/assets/images/aioa-icon-type-22.svg +21 -0
  33. package/src/assets/images/aioa-icon-type-23.svg +21 -0
  34. package/src/assets/images/aioa-icon-type-24.svg +21 -0
  35. package/src/assets/images/aioa-icon-type-25.svg +15 -0
  36. package/src/assets/images/aioa-icon-type-26.svg +23 -0
  37. package/src/assets/images/aioa-icon-type-27.svg +21 -0
  38. package/src/assets/images/aioa-icon-type-28.svg +27 -0
  39. package/src/assets/images/aioa-icon-type-29.svg +25 -0
  40. package/src/assets/images/aioa-icon-type-3.svg +1 -0
  41. package/src/assets/images/aioa-icon-type-4.svg +16 -0
  42. package/src/assets/images/aioa-icon-type-5.svg +1 -0
  43. package/src/assets/images/aioa-icon-type-6.svg +1 -0
  44. package/src/assets/images/aioa-icon-type-7.svg +1 -0
  45. package/src/assets/images/aioa-icon-type-8.svg +1 -0
  46. package/src/assets/images/aioa-icon-type-9.svg +1 -0
  47. package/src/assets/images/all-in-one-accessibility-logo.svg +43 -0
  48. package/src/assets/images/checkbox.svg +14 -0
  49. package/src/assets/images/error.svg +18 -0
  50. package/src/assets/images/large-site-icon.svg +1 -0
  51. package/src/assets/images/medium-site-icon.svg +1 -0
  52. package/src/assets/images/no-ada.svg +17 -0
  53. package/src/assets/images/noun-digital-enterprise.svg +9 -0
  54. package/src/assets/images/small-site-icon.svg +1 -0
  55. package/src/assets/images/success.svg +13 -0
  56. package/src/assets.zip +0 -0
  57. package/src/icon.tsx +2 -0
  58. package/src/index.ts +76 -0
  59. package/src/plugin.tsx +1816 -0
  60. package/v2-incompatible.js +11 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Skynet Technologies USA LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,160 @@
1
+ # All in One Accessibility®: Sanity Plugin
2
+
3
+ ## Enhance Your Website's Accessibility with All in One Accessibility®
4
+
5
+ **Did you know?** Your website's accessibility can make or break your audience's experience. With the **All in One Accessibility AI Free Accessibility Widget**, you can instantly boost your site's inclusivity and support over **140+ languages**! Experience the power of **23 essential features** in our free version and take the first step towards creating a better web for everyone.
6
+
7
+ ### Why All in One Accessibility®?
8
+
9
+ This lightweight and flexible widget is designed to improve your website’s compliance with international accessibility standards, including:
10
+
11
+ - **ADA (Americans with Disabilities Act)**
12
+ - **WCAG 2.0, 2.1, & 2.2**
13
+ - **Section 508 (U.S. Government Standard)**
14
+ - **California Unruh Act**
15
+ - **Australian DDA**
16
+ - **European EAA EN 301 549**
17
+ - **UK Equality Act (EA)**
18
+ - **Israel Standard 5568**
19
+ - **Ontario AODA**
20
+ - **Canada ACA**
21
+ - **UAE Disability Act**
22
+ - **Singapore DSS and SGDS**
23
+ - For more details on Accessibility Standards, Visit **[All in One Accessibility Supported Standards.](https://www.skynettechnologies.com/accessibility-standards)**
24
+
25
+ By implementing the widget, you’re not only enhancing user experience but also minimizing the risk of costly accessibility lawsuits. For more details, visit **[All in One Accessibility®.](https://www.skynettechnologies.com/all-in-one-accessibility)**
26
+
27
+ ### Built for Excellence
28
+
29
+ - Adheres to **ISO 9001:2015** & **ISO 27001:2013** standards.
30
+ - Fully compliant with **GDPR** and **COPPA** regulations.
31
+ - Proud member of **W3C** and the **International Association of Accessibility Professionals (IAAP)**.
32
+
33
+ ### Upgrade to Unlock Premium Features
34
+
35
+ **Why stop at 23 features?** Unlock over **70 advanced features** with our **paid subscription** and take your website’s accessibility to the next level. Compare the benefits of Free vs. Paid versions **[here](https://www.skynettechnologies.com/all-in-one-accessibility/features)**.
36
+
37
+ Checkout the steps for upgrading **[Free to Paid Widget](https://www.skynettechnologies.com/blog/upgrade-from-all-in-one-accessibility-free-widget-to-premium-version).**
38
+
39
+ ### Start Your Accessibility Journey Today
40
+
41
+ Try it risk-free with our **10-day free trial**! Don’t wait, experience the benefits today. **[Click to get started](https://ada.skynettechnologies.us/trial-subscription?utm_source=all-in-one-accessibility&utm_medium=landing-page&utm_campaign=trial-subscription)** and join a growing community of forward-thinking businesses making the web accessible to everyone.
42
+
43
+ **Your website’s accessibility journey begins here. Make an impact.**
44
+
45
+ For more details, visit **[All in One Accessibility®](https://www.skynettechnologies.com/all-in-one-accessibility)** and transform your digital presence.
46
+
47
+ ### Supported Languages (140+ Languages)
48
+
49
+ English (USA), English (UK), English (Australian), English (Canadian), English (South Africa), Español, Español (Mexicano), Deutsch, عربى, Português, Português (Brazil), 日本語, Français, Italiano, Polski, Pусский, 中文, 中文 (Traditional), עִברִית, Magyar, Slovenčina, Suomenkieli, Türkçe, Ελληνικά, Latinus, Български, Català, Čeština, Dansk, Nederlands, हिंदी, Bahasa Indonesia, 한국인, Lietuvių, Bahasa Melayu, Norsk, Română, Slovenščina, Svenska, แบบไทย, Українська, Việt Nam, বাঙালি, සිංහල, አማርኛ, Hmoob, မြန်မာ, Eesti keel, latviešu, Cрпски, Hrvatski, ქართული, ʻŌlelo Hawaiʻi, Cymraeg, Cebuano, Samoa, Kreyòl ayisyen, Føroyskt, Crnogorski, Azerbaijani, Euskara, Tagalog, Galego, Norsk Bokmål, فارسی, ਪੰਜਾਬੀ, shqiptare, Hայերեն, অসমীয়া, Aymara, Bamanankan, беларускі, bosanski, Corsu, ދިވެހި, Esperanto, Eʋegbe, Frisian, guarani, ગુજરાતી, Hausa, íslenskur, Igbo, Gaeilge, basa jawa, ಕನ್ನಡ, қазақ, ខ្មែរ, Kinyarwanda, Kurdî, Кыргызча, ພາສາລາວ, Lingala, Luganda, lëtzebuergesch, македонски, Malagasy, മലയാളം, Malti, Maori, मराठी, Монгол, नेपाली, Sea, ଓଡିଆ, Afaan Oromoo, پښتو, Runasimi, संस्कृत, Gàidhlig na h-Alba, Sesotho, Shona, سنڌي, Soomaali, basa Sunda, kiswahili, тоҷикӣ, தமிழ், Татар, తెలుగు, ትግሪኛ, Tsonga, Türkmenler, Ride, اردو, ئۇيغۇر, o'zbek, isiXhosa, יידיש, Yoruba, Zulu, भोजपुरी, डोगरी, कोंकणी, Kurdî, Krio, मैथिली, Meiteilon, Mizo tawng, Sepedi, Ilocano, دری.
50
+
51
+ ## Installation
52
+
53
+ ```sh
54
+ npm install sanity-plugin-all-in-one-accessibility
55
+ ```
56
+
57
+ ## Setup & Usage
58
+
59
+ Add it as a plugin in `sanity.config.ts` (or .js):
60
+
61
+ ```ts
62
+ import {defineConfig} from 'sanity'
63
+ import {AllinOneAccessibilityPlugin} from 'sanity-plugin-all-in-one-accessibility'
64
+
65
+ export default defineConfig({
66
+ //...
67
+ plugins: [AllinOneAccessibilityPlugin({})],
68
+ })
69
+ ```
70
+
71
+ ### Add the Script
72
+
73
+ Place the following script in the **header** or **footer** section of your website or frontend:
74
+
75
+ ```html
76
+ <script>
77
+ setTimeout(() => {
78
+ let aioa_script_tag = document.createElement("script");
79
+ aioa_script_tag.src = "https://www.skynettechnologies.com/accessibility/js/all-in-one-accessibility-js-widget-minify.js?colorcode=#420083&token=null&position=bottom_right";
80
+ aioa_script_tag.id = "aioa-adawidget";
81
+ aioa_script_tag.defer = "true";
82
+ document.getElementsByTagName("body")[0].appendChild(aioa_script_tag);
83
+ }, 3000);
84
+ </script>
85
+ ```
86
+
87
+ ## CORS Policy Configuration
88
+
89
+ To avoid CORS policy issues, ensure the following URLs are allowed in your website. These URLs should be added to your CORS configuration or trusted domains list.
90
+
91
+ | **Domain** | **Description** | **Usage** |
92
+ |-----------------------------------|----------------------------------------------|----------------------------------|
93
+ | `https://*.skynettechnologies.com` | Skynet Technologies (Global Domain) | API access and resources |
94
+ | `https://*.skynettechnologies.us` | Skynet Technologies (US Domain) | API access and resources |
95
+ | `https://*.googleapis.com` | Google APIs | Services like Fonts, Translation |
96
+ | `https://vlibras.gov.br` | VLibras - Brazilian Sign Language Service | Sign Language |
97
+
98
+ ## Instructions
99
+
100
+ 1. Update your server's CORS configuration to include these URLs.
101
+ 2. Ensure wildcard subdomains (`*`) are supported where necessary.
102
+ 3. Verify the application functionality by testing requests to these domains.
103
+ 4. If issues persist, consult the documentation for CORS configuration guidance.
104
+
105
+ ## Configuration
106
+
107
+ To configure the widget, access the Admin Panel and head to the **All in One Accessibility** menu in the dashboard. From there, you can register **[here](https://ada.skynettechnologies.us/trial-subscription)** with 10 Days free trial.
108
+
109
+ ## Documentation
110
+
111
+ - **[Sanity All in One Accessibility](https://www.skynettechnologies.com/sanity-website-accessibility)**
112
+ - **[How to install All in One Accessibility Extension on Sanity blog](**https://www.skynettechnologies.com/blog/sanity-web-accessibility-widget-installation**)**
113
+ - **[All in One Accessibility - Features Guide](https://www.skynettechnologies.com/sites/default/files/accessibility-widget-features-list.pdf)**
114
+
115
+ ## Submit a Support Request
116
+
117
+ Please visit our **[support page](https://www.skynettechnologies.com/report-accessibility-problem)** and fill out the form. Our team will get back to you as soon as possible.
118
+
119
+ ## Send Us an Email
120
+
121
+ Alternatively, you can send an email to our support team:
122
+ **[hello@skynettechnologies.com](mailto:hello@skynettechnologies.com)**
123
+
124
+ ## Accessibility Partnership Opportunities
125
+
126
+ ### **[Agencies Partnership](https://www.skynettechnologies.com/agency-partners)**
127
+
128
+ Partner with us as an agency to provide comprehensive accessibility solutions to your clients. Get access to exclusive resources, training, and support to help you implement and manage accessibility features effectively.
129
+
130
+ ### **[Affiliated Partnership](https://www.skynettechnologies.com/affiliate-partner)**
131
+
132
+ Join our affiliate program and earn commissions by promoting All in One Accessibility™. Share our Widget with your network and help businesses improve their website accessibility while generating revenue.
133
+
134
+ For more details, Please visit **[Partnership Opportunities Page](https://www.skynettechnologies.com/partner-program)**
135
+
136
+ ## Screenshots
137
+
138
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-1-free.jpg?v=3)
139
+
140
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-2-free.jpg?v=3)
141
+
142
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-3-free.jpg?v=3)
143
+
144
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-4-free.jpg?v=3)
145
+
146
+ ## Video
147
+
148
+ [![All in One Accessibility](https://img.youtube.com/vi/I-DjgZyleeI/0.jpg)](https://www.youtube.com/watch?v=I-DjgZyleeI)
149
+
150
+ ## Credits
151
+
152
+ This addon is developed and maintained by **[Skynet Technologies USA LLC](https://www.skynettechnologies.com)**
153
+
154
+ ## Current Maintainers
155
+
156
+ - **[Skynet Technologies USA LLC](https://github.com/skynettechnologies)**
157
+
158
+ ## License
159
+
160
+ [MIT](LICENSE) © Skynet Technologies USA LLC
@@ -0,0 +1,7 @@
1
+ import {Plugin as Plugin_2} from 'sanity'
2
+
3
+ declare interface aioaPluginConfig {}
4
+
5
+ export declare const AllinOneAccessibilityPlugin: Plugin_2<void | aioaPluginConfig>
6
+
7
+ export {}
@@ -0,0 +1,7 @@
1
+ import {Plugin as Plugin_2} from 'sanity'
2
+
3
+ declare interface aioaPluginConfig {}
4
+
5
+ export declare const AllinOneAccessibilityPlugin: Plugin_2<void | aioaPluginConfig>
6
+
7
+ export {}