sanity-plugin-all-in-one-accessibility 1.0.7 → 1.1.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 (59) hide show
  1. package/README.md +217 -170
  2. package/dist/index.d.ts +30 -2
  3. package/dist/index.js +2621 -1097
  4. package/dist/index.js.map +1 -1
  5. package/package.json +25 -26
  6. package/dist/index.d.mts +0 -7
  7. package/dist/index.mjs +0 -1152
  8. package/dist/index.mjs.map +0 -1
  9. package/sanity.json +0 -8
  10. package/src/assets/css/bootstrap.min.css +0 -11722
  11. package/src/assets/css/style.css +0 -3204
  12. package/src/assets/css/style.css--06-Nov-2023.css +0 -1102
  13. package/src/assets/css/style.css.map +0 -1
  14. package/src/assets/css/style.scss +0 -2730
  15. package/src/assets/images/ada.svg +0 -17
  16. package/src/assets/images/aioa-icon-type-1.svg +0 -1
  17. package/src/assets/images/aioa-icon-type-10.svg +0 -1
  18. package/src/assets/images/aioa-icon-type-11.svg +0 -1
  19. package/src/assets/images/aioa-icon-type-12.svg +0 -1
  20. package/src/assets/images/aioa-icon-type-13.svg +0 -1
  21. package/src/assets/images/aioa-icon-type-14.svg +0 -29
  22. package/src/assets/images/aioa-icon-type-15.svg +0 -26
  23. package/src/assets/images/aioa-icon-type-16.svg +0 -17
  24. package/src/assets/images/aioa-icon-type-17.svg +0 -24
  25. package/src/assets/images/aioa-icon-type-18.svg +0 -20
  26. package/src/assets/images/aioa-icon-type-19.svg +0 -25
  27. package/src/assets/images/aioa-icon-type-1_new.svg +0 -1
  28. package/src/assets/images/aioa-icon-type-2.svg +0 -1
  29. package/src/assets/images/aioa-icon-type-20.svg +0 -24
  30. package/src/assets/images/aioa-icon-type-21.svg +0 -28
  31. package/src/assets/images/aioa-icon-type-22.svg +0 -21
  32. package/src/assets/images/aioa-icon-type-23.svg +0 -21
  33. package/src/assets/images/aioa-icon-type-24.svg +0 -21
  34. package/src/assets/images/aioa-icon-type-25.svg +0 -15
  35. package/src/assets/images/aioa-icon-type-26.svg +0 -23
  36. package/src/assets/images/aioa-icon-type-27.svg +0 -21
  37. package/src/assets/images/aioa-icon-type-28.svg +0 -27
  38. package/src/assets/images/aioa-icon-type-29.svg +0 -25
  39. package/src/assets/images/aioa-icon-type-3.svg +0 -1
  40. package/src/assets/images/aioa-icon-type-4.svg +0 -16
  41. package/src/assets/images/aioa-icon-type-5.svg +0 -1
  42. package/src/assets/images/aioa-icon-type-6.svg +0 -1
  43. package/src/assets/images/aioa-icon-type-7.svg +0 -1
  44. package/src/assets/images/aioa-icon-type-8.svg +0 -1
  45. package/src/assets/images/aioa-icon-type-9.svg +0 -1
  46. package/src/assets/images/all-in-one-accessibility-logo.svg +0 -43
  47. package/src/assets/images/checkbox.svg +0 -14
  48. package/src/assets/images/error.svg +0 -18
  49. package/src/assets/images/large-site-icon.svg +0 -1
  50. package/src/assets/images/medium-site-icon.svg +0 -1
  51. package/src/assets/images/no-ada.svg +0 -17
  52. package/src/assets/images/noun-digital-enterprise.svg +0 -9
  53. package/src/assets/images/small-site-icon.svg +0 -1
  54. package/src/assets/images/success.svg +0 -13
  55. package/src/assets.zip +0 -0
  56. package/src/icon.tsx +0 -2
  57. package/src/index.ts +0 -76
  58. package/src/plugin.tsx +0 -1824
  59. package/v2-incompatible.js +0 -11
package/README.md CHANGED
@@ -1,279 +1,320 @@
1
- # All in One Accessibility®: Sanity Plugin
1
+ # All in One Accessibility® – Free ADA Accessibility Widget for Sanity
2
2
 
3
- ## Enhance Your Website's Accessibility with All in One Accessibility®
3
+ This [free Sanity accessibility plugin](https://www.skynettechnologies.com/sanity-website-accessibility) makes your website more usable for people with visual, auditory, motor, or cognitive disabilities. It supports assistive technologies and helps align with WCAG 2.1, 2.2, ADA, EAA, Section 508, France RGAA, California Unruh, European EAA EN 301 549, UK Equality Act, Spain UNE 139803:2012, Australian DDA, Israeli Standard 5568, UAE Disability Act (Federal Law No. 29 of 2006), Saudi Web Accessibility Standards, Qatar National e-Accessibility Policy, Ontario AODA, Canada ACA, German BITV, Brazilian Inclusion Law (LBI 13.146/2015), JIS X 8341 (Japan), Italian Stanca Act, Indian RPwD Act, Switzerland DDA, and other [accessibility standards](https://www.skynettechnologies.com/accessibility-standards).
4
4
 
5
- **Did you know?** Your website's accessibility can make or break your audience's experience. With the **All in One 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.
5
+ This lightweight [free ADA accessibility widget](https://www.skynettechnologies.com/free-website-accessibility-widget) quickly adds essential accessibility features that support inclusive browsing and compliance efforts.
6
6
 
7
- ### Why All in One Accessibility®?
7
+ ## Highlights
8
8
 
9
- This lightweight and flexible widget is designed to improve your website’s compliance with **international accessibility standards**, including:
9
+ - **Free forever:** Essential accessibility features at no cost.
10
+ - **Quick setup:** Installs in minutes with a lightweight script.
11
+ - **Multilingual:** 190+ languages with automatic language detection.
12
+ - **Customizable:** Match the widget's colors, size, icon, and position to your site's mobile and desktop designs.
13
+ - **Free support:** Our support team helps with installation and any queries.
14
+ - **Easy upgrade:** Upgrade to advanced accessibility anytime and get 100+ features, including screen reader, talk & type, and voice navigation. Try them with a [10-day free trial](https://ada.skynettechnologies.us/trial-subscription).
10
15
 
11
- ### **International Standards**
16
+ ## What You Get with the Free Widget
12
17
 
13
- - **WCAG 2.0, 2.1, & 2.2** (Web Content Accessibility Guidelines)
14
- - **ATAG 2.0** (Authoring Tool Accessibility Guidelines)
15
- - **PDF/UA – ISO 14289** (Accessible PDF Format)
18
+ - Auto-detect language
19
+ - 190+ languages
20
+ - Skip to Navigation / Content / Footer
21
+ - Content adjustment options
22
+ - Visual & color adjustments
23
+ - Reading mask
24
+ - Widget customization (colors, size, icon, and position)
25
+ - Accessibility statement
16
26
 
17
- ### **European Union**
27
+ Explore the [**free accessibility widget features guide**](https://www.skynettechnologies.com/sites/default/files/Free-Accessibility-Widget-Features-Guide.pdf).
18
28
 
19
- - **EAA / EN 301 549 Accessibility**
20
- - **EN 301 549 v4.1.1**
29
+ ## Who Is the Free Widget For?
21
30
 
22
- ### **United States**
31
+ Businesses, developers, agencies, content teams, ecommerce brands, educational institutions, and public-facing organizations using Sanity who want to improve WCAG accessibility, usability, and user experience quickly without complex development.
23
32
 
24
- - **ADA (Americans with Disabilities Act)**
25
- - **ADA Title III Website Accessibility**
26
- - **Section 508 (U.S. Government Standard)**
27
- - **California Unruh Civil Rights Act**
28
- - **Texas Website Accessibility Compliance**
29
- - **Florida Website Compliance**
30
- - **Colorado Accessibility Law**
31
- - **Kentucky Web Accessibility**
32
- - **New York State Web Accessibility Policy**
33
- - **Arizona ADA Compliance**
34
- - **Connecticut ADA Web Accessibility**
35
- - **Indiana Digital Accessibility**
36
- - **Nevada ADA Compliance Requirements**
37
- - **Georgia Website ADA Compliance**
38
- - **Ohio ADA Compliance**
39
- - **Michigan ADA Compliance**
40
- - **Virginia Web Accessibility Legislation**
41
- - **Kansas ADA Compliance**
42
- - **Washington State ADA Compliance**
33
+ ## Why Choose This Free Widget?
43
34
 
44
- ### **Canada**
35
+ - Aligns with global accessibility standards.
36
+ - Improves usability for people with visual, cognitive, and motor impairments.
37
+ - Works with any website frontend that renders your Sanity content.
38
+ - Supports multisite setups for global reach.
39
+ - Free support from our team for installation and queries.
40
+ - Core features at no cost.
45
41
 
46
- - **AODA (Accessibility for Ontarians with Disabilities Act)**
47
- - **ACA (Accessible Canada Act)**
42
+ ## Free vs Pro
48
43
 
49
- ### **United Kingdom**
44
+ See the full [free widget vs paid app comparison](https://www.skynettechnologies.com/installation-guide/free-vs-paid-accessibility-widget-comparison-video).
50
45
 
51
- - **UK Equality Act (EA)**
46
+ ## Security and Privacy
52
47
 
53
- ### **France**
48
+ - This free accessibility plugin follows several data and application security practices, including ISO 9001:2015 & ISO 27001:2022, GDPR, CCPA, COPPA, HIPAA, and SOC 2 Type II.
49
+ - Skynet Technologies USA LLC is an organizational member of IAAP and W3C.
50
+ - No personal data is intentionally stored by the plugin itself.
51
+ - Site owners are responsible for reviewing their own compliance requirements.
54
52
 
55
- - **RGAA (Référentiel Général d’Amélioration de l’Accessibilité)**
53
+ ## Limitations
56
54
 
57
- ### **Germany**
55
+ - Some advanced features require a commercial subscription and Paid Add-ons.
56
+ - The plugin improves accessibility and usability but is not a full replacement for manual WCAG remediation.
58
57
 
59
- - **BITV (Barrierefreie-Informationstechnik-Verordnung)**
58
+ For more details, visit [**Sanity accessibility plugin**](https://www.skynettechnologies.com/sanity-website-accessibility).
60
59
 
61
- ### **Italy**
60
+ ## FAQs
62
61
 
63
- - **Italian Stanca Act**
62
+ **Does this free accessibility plugin support multilingual Sanity sites?**
64
63
 
65
- ### **Spain**
64
+ Yes. It supports 190+ languages.
66
65
 
67
- - **UNE 139803:2012**
66
+ **Which languages do the screen reader, virtual keyboard, and other advanced features support?**
68
67
 
69
- ### **Austria**
68
+ In the paid app, Screen Reader, Talk & Type, and Live Site Translation support 50+ languages; the Virtual Keyboard supports 40+ languages; Voice Navigation and Dictionary Search support 20+ languages. [See language support details](https://www.skynettechnologies.com/all-in-one-accessibility/languages).
70
69
 
71
- - **WZG (Austrian Web Accessibility Act)**
70
+ **How can I upgrade from the free widget to the paid app?**
72
71
 
73
- ### **Switzerland**
72
+ Upgrade to a paid subscription with 100+ advanced features. Check out the [upgrade steps](https://www.skynettechnologies.com/blog/upgrade-from-all-in-one-accessibility-free-widget-to-premium-version).
74
73
 
75
- - **Swiss Disability Discrimination Act (DDA)**
74
+ **What additional features are available in the paid version?**
76
75
 
77
- ### **Sweden**
76
+ The paid app includes a screen reader, voice navigation, talk & type, virtual keyboard, dictionary search, 12 accessibility profiles tailored for different disability groups, Libras (Brazilian Sign Language), automated compliance accessibility reports, AI-based remediation guidelines, and more. Explore the [paid accessibility app](https://www.skynettechnologies.com/all-in-one-accessibility) and buy now.
78
77
 
79
- - **Swedish Discrimination Act (2008:567)**
78
+ **Can I try Pro before buying?**
80
79
 
81
- ### **Israel**
80
+ Yes. Pro comes with a [10-day free trial](https://ada.skynettechnologies.us/trial-subscription) that includes all features.
82
81
 
83
- - **IS 5568 (Israeli Standard)**
82
+ ## Supported Languages (190+)
84
83
 
85
- ### **Australia**
84
+ 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, دری
86
85
 
87
- - **Australian DDA (Disability Discrimination Act)**
86
+ ## Prerequisites
88
87
 
89
- ### **India**
88
+ - Sanity Studio v4 or newer (React 18 or 19)
89
+ - Node.js 20.19+ or 22.12+
90
90
 
91
- - **RPD Act (Rights of Persons with Disabilities Act)**
92
- - **GIGW 3.0 (Guidelines for Indian Government Websites)**
91
+ - Tested and verified on Sanity Studio 6.3
93
92
 
94
- ### **Brazil**
93
+ ## Installation
95
94
 
96
- - **LBI 13.146/2015 (Brazilian Inclusion Law)**
95
+ 1. Install the plugin in your Sanity Studio project:
97
96
 
98
- ### **Mexico**
97
+ ```sh
98
+ npm install sanity-plugin-all-in-one-accessibility
99
+ ```
99
100
 
100
- - **ADA-Inspired Web Accessibility Compliance**
101
+ 1. Add it as a plugin in `sanity.config.ts` (or `.js`):
101
102
 
102
- ### **Japan**
103
+ ```ts
104
+ import {defineConfig} from 'sanity'
105
+ import {AllinOneAccessibilityPlugin} from 'sanity-plugin-all-in-one-accessibility'
103
106
 
104
- - **JIS X 8341**
107
+ export default defineConfig({
108
+ //...
109
+ plugins: [
110
+ AllinOneAccessibilityPlugin({
111
+ // Optional: the website the widget runs on (default: the Studio's hostname)
112
+ websiteUrl: 'www.your-website.com',
113
+ }),
114
+ ],
115
+ })
116
+ ```
105
117
 
106
- ### **South Korea**
118
+ **Plugin options** (all optional):
107
119
 
108
- - **KWCAG 2.1 (Korean Web Content Accessibility Guidelines)**
120
+ | Option | Default | Description |
121
+ | --- | --- | --- |
122
+ | `websiteUrl` | The Studio's hostname | Website domain whose widget you set up, for example `www.your-website.com`. Set it when the Studio runs on a different host than your website (for example `*.sanity.studio`). A domain or `localhost`; IP addresses are not accepted. |
123
+ | `username` | The signed-in Sanity user's name | Admin name sent once, when a new website is registered for the free widget. |
124
+ | `email` | The signed-in Sanity user's email | Admin email sent once, when a new website is registered (falls back to `no-reply@<website>`). |
109
125
 
110
- ### **Singapore**
126
+ 1. Add the widget script to the **header** or **footer** of your website frontend:
111
127
 
112
- - **DSS and SGDS (Design System and Digital Standards)**
128
+ ## Add the Script
113
129
 
114
- ### **Malaysia**
130
+ Place the following script in the **header** or **footer** section of your website or frontend:
115
131
 
116
- - **PWD Act 2008 (Persons with Disabilities Act)**
132
+ ### Option A: Plain HTML
117
133
 
118
- ### **Thailand**
134
+ Place this script before the closing `</body>` tag (or in the footer template).
119
135
 
120
- - **PDA 2013 (Persons with Disabilities Empowerment Act)**
136
+ ```html
137
+ <script id="aioa-adawidget" src="https://www.skynettechnologies.com/accessibility/js/all-in-one-accessibility-js-widget-minify.js?colorcode=#420083&token=&position=bottom_right"></script>
138
+ ```
121
139
 
122
- ### **United Arab Emirates**
140
+ ### Option B: React/Next.js
123
141
 
124
- - **UAE Disability Act (Federal Law No. 29 of 2006)**
142
+ Add this to a client component (e.g., your layout or a top-level page). The script loads the widget after a short delay to avoid blocking page rendering.
125
143
 
126
- For more details on supported accessibility laws and standards, visit
127
- **[Accessibility AI Widget Supported Standards](https://www.skynettechnologies.com/accessibility-standards)**
144
+ ```typescript
145
+ function load_aioa_script() {
146
+ const aioa_script_tag = document.createElement("script");
147
+ aioa_script_tag.id = "aioa-adawidget";
148
+ aioa_script_tag.src =
149
+ "https://www.skynettechnologies.com/accessibility/js/all-in-one-accessibility-js-widget-minify.js?colorcode=#420083&token=&position=bottom_right";
150
+ document.getElementsByTagName("head")[0].appendChild(aioa_script_tag);
151
+ }
128
152
 
129
- By implementing the widget, you’re not only enhancing user experience but also minimizing the risk of costly accessibility lawsuits. For more details, visit **[Accessibility Widget.](https://www.skynettechnologies.com/all-in-one-accessibility)**
153
+ setTimeout(() => {
154
+ load_aioa_script();
155
+ }, 5000);
156
+ ```
130
157
 
131
- ### Built for Excellence
158
+ ## EU Region Support (Recommended for EU-Based Websites)
132
159
 
133
- - Adheres to **ISO 9001:2015** & **ISO 27001:2013** standards.
134
- - Fully compliant with **GDPR** and **COPPA** regulations.
135
- - Proud member of **W3C** and the **International Association of Accessibility Professionals (IAAP)**.
160
+ If your website or business operates in the **European Union (EU)**, use the **EU region–hosted script** to improve performance for EU users and better align with GDPR and EU data residency requirements.
136
161
 
137
- ### Upgrade to Unlock Premium Features
162
+ ### EU Script Base URL
138
163
 
139
- **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)**.
164
+ ```text
165
+ https://eu.skynettechnologies.com/accessibility/js/all-in-one-accessibility-js-widget-minify.js
166
+ ```
140
167
 
141
- Checkout the steps for upgrading **[Free to Paid Widget Upgrade Steps](https://www.skynettechnologies.com/blog/upgrade-all-in-one-accessibility-free-widget-to-paid-version#free-paid-version).**
168
+ ### Option A: Plain HTML (EU Region)
142
169
 
143
- ### Start Your Accessibility Journey Today
170
+ ```html
171
+ <script
172
+ id="aioa-adawidget"
173
+ src="https://eu.skynettechnologies.com/accessibility/js/all-in-one-accessibility-js-widget-minify.js?colorcode=#420083&token=&position=bottom_right">
174
+ </script>
175
+ ```
144
176
 
145
- 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.
177
+ ### Option B: React / Next.js (EU Region)
146
178
 
147
- **Your website’s accessibility journey begins here. Make an impact.**
179
+ ```typescript
180
+ function load_aioa_script() {
181
+ const aioa_script_tag = document.createElement("script");
182
+ aioa_script_tag.id = "aioa-adawidget";
183
+ aioa_script_tag.src =
184
+ "https://eu.skynettechnologies.com/accessibility/js/all-in-one-accessibility-js-widget-minify.js?colorcode=#420083&token=&position=bottom_right";
185
+ document.getElementsByTagName("head")[0].appendChild(aioa_script_tag);
186
+ }
148
187
 
149
- For more details, visit **[Accessibility AI Widget](https://www.skynettechnologies.com/all-in-one-accessibility)** and transform your digital presence.
188
+ setTimeout(() => {
189
+ load_aioa_script();
190
+ }, 5000);
191
+ ```
150
192
 
151
- ### Supported Languages (140+ Languages)
193
+ Package name: `sanity-plugin-all-in-one-accessibility`
152
194
 
153
- 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, دری.
195
+ Check out our [**Sanity WCAG accessibility widget installation steps**](https://www.skynettechnologies.com/blog/sanity-web-accessibility-widget-installation).
154
196
 
155
- ## Installation
197
+ ## Configuration
156
198
 
157
- ```sh
158
- npm install sanity-plugin-all-in-one-accessibility
159
- ```
199
+ Configure the widget from Sanity Studio.
160
200
 
161
- ## Setup & Usage
201
+ **Path:** Sanity Studio → **All in One Accessibility** (top navigation)
162
202
 
163
- Add it as a plugin in `sanity.config.ts` (or .js):
203
+ **Steps:**
164
204
 
165
- ```ts
166
- import {defineConfig} from 'sanity'
167
- import {AllinOneAccessibilityPlugin} from 'sanity-plugin-all-in-one-accessibility'
205
+ 1. Log in to your Sanity Studio.
206
+ 2. Open Sanity Studio → **All in One Accessibility** (top navigation). A website that is not registered yet is registered for the free widget automatically the first time the tool opens.
207
+ 3. On **Appearance Design**, configure the widget color, widget size, position, icon type and icon size.
208
+ 4. On a paid plan, also use **Paid Features** (widget position for mobile, custom accessibility statement and report a problem links, external link navigation, open/close sound) and **Accessibility Score** (scan results of your website). The **Dashboard** button opens your All in One Accessibility dashboard.
209
+ 5. Click **Save Changes**.
168
210
 
169
- export default defineConfig({
170
- //...
171
- plugins: [AllinOneAccessibilityPlugin({})],
172
- })
173
- ```
211
+ When a website is registered for the first time, the website domain and the admin's name and email (the signed-in Sanity user, or the `username` / `email` plugin options) are sent to Skynet Technologies to set up the free widget. Your browser's location is checked once with ipapi.co to tell whether you are in the EU. If your Studio has a Content Security Policy, allow the domains in the CORS table below in `connect-src`.
174
212
 
175
- ### Add the Script
213
+ ## Demo
176
214
 
177
- Place the following script in the **header** or **footer** section of your website or frontend:
215
+ See how the widget performs with improved accessibility features:
178
216
 
179
- ```html
180
- <script>
181
- setTimeout(() => {
182
- let aioa_script_tag = document.createElement("script");
183
- 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";
184
- aioa_script_tag.id = "aioa-adawidget";
185
- aioa_script_tag.defer = "true";
186
- document.getElementsByTagName("body")[0].appendChild(aioa_script_tag);
187
- }, 3000);
188
- </script>
189
- ```
217
+ [![Free accessibility widget demo video](https://img.youtube.com/vi/VMHx30aUnR4/0.jpg)](https://www.youtube.com/watch?v=VMHx30aUnR4)
190
218
 
191
219
  ## CORS Policy Configuration
192
220
 
193
- 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.
221
+ To avoid CORS policy issues, ensure the following URLs are allowed on your website. Add them to your CORS configuration or trusted domains list.
194
222
 
195
- | **Domain** | **Description** | **Usage** |
196
- |------------------------------------|----------------------------------------------|----------------------------------|
197
- | `https://*.skynettechnologies.com` | Skynet Technologies (Global Domain) | API access and resources |
198
- | `https://*.skynettechnologies.us` | Skynet Technologies (US Domain) | API access and resources |
199
- | `https://*.googleapis.com` | Google APIs | Services like Fonts, Translation |
200
- | `https://*.gstatic.com` | Fonts APIs | Custom Fonts |
201
- | `https://vlibras.gov.br` | VLibras - Brazilian Sign Language Service | Sign Language |
223
+ | **Domain** | **Description** | **Usage** |
224
+ | --- | --- | --- |
225
+ | https://\*.skynettechnologies.com | Skynet Technologies (Global Domain) | API access and resources |
226
+ | https://\*.skynettechnologies.us | Skynet Technologies (US Domain) | API access and resources |
227
+ | <https://skynetaccessibilityscan.com> | SkynetAccessibility Scanner | Accessibility scan results and score |
228
+ | https://\*.googleapis.com | Google APIs | Services like Fonts, Translation |
229
+ | https://\*.gstatic.com | Fonts APIs | Custom Fonts |
230
+ | <https://vlibras.gov.br> | VLibras – Brazilian Sign Language Service | Sign Language |
231
+ | <https://ipapi.co> | ipapi – IP Geolocation API | Called once during installation to detect an EU location and add the EU-based widget script (endpoint: `/json/`) |
202
232
 
203
- ## Instructions
233
+ ### Instructions
204
234
 
205
235
  1. Update your server's CORS configuration to include these URLs.
206
- 2. Ensure wildcard subdomains (`*`) are supported where necessary.
207
- 3. Verify the application functionality by testing requests to these domains.
236
+ 2. Ensure wildcard subdomains (\*) are supported where necessary.
237
+ 3. Verify functionality by testing requests to these domains.
208
238
  4. If issues persist, consult the documentation for CORS configuration guidance.
209
239
 
210
- ## Configuration
211
-
212
- 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.
213
-
214
240
  ## Documentation
215
241
 
216
- - **[Sanity All in One Accessibility](https://www.skynettechnologies.com/sanity-website-accessibility)**
217
- - **[How to install All in One Accessibility Extension on Sanity blog](https://www.skynettechnologies.com/blog/sanity-web-accessibility-widget-installation)**
218
- - **[All in One Accessibility - Features Guide](https://www.skynettechnologies.com/sites/default/files/accessibility-widget-features-list.pdf)**
242
+ - [**Sanity Accessibility plugin**](https://www.skynettechnologies.com/sanity-website-accessibility)
243
+ - [**How to install the accessibility widget on Sanity**](https://www.skynettechnologies.com/blog/sanity-web-accessibility-widget-installation)
244
+ - [**Free Accessibility Widget Features Guide**](https://www.skynettechnologies.com/sites/default/files/Free-Accessibility-Widget-Features-Guide.pdf)
245
+ - [**Free Widget vs Paid App Comparison**](https://www.skynettechnologies.com/installation-guide/free-vs-paid-accessibility-widget-comparison-video)
246
+
247
+ ## Support
219
248
 
220
- ## Submit a Support Request
249
+ ### Submit a Support Request
221
250
 
222
- 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.
251
+ 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.
223
252
 
224
- ## Send Us an Email
253
+ ### Send Us an Email
225
254
 
226
- Alternatively, you can send an email to our support team:
227
- **[hello@skynettechnologies.com](mailto:hello@skynettechnologies.com)**
255
+ Email our support team: [**hello@skynettechnologies.com**](mailto:hello@skynettechnologies.com)
228
256
 
229
257
  ## Accessibility Paid Add-on Services
230
258
 
231
- ### **[Manual Accessibility Audit](https://www.skynettechnologies.com/all-in-one-accessibility/addons#manual-accessibility-audit-report)**
259
+ [**Manual Accessibility Audit**](https://www.skynettechnologies.com/website-accessibility-audit)
260
+
261
+ - Evaluate your website's accessibility with a [web accessibility consultant](https://www.skynettechnologies.com/web-accessibility-consultant).
262
+ - WCAG 2.0 / 2.1 / 2.2 Level AA conformance testing
263
+ - Automated, semi-automated, and manual testing
264
+ - Simple before-after UI/UX recommendations on how to fix the issues
265
+ - Comprehensive audit report
266
+
267
+ [**Manual Accessibility Remediation**](https://www.skynettechnologies.com/full-website-accessibility-remediation)
268
+
269
+ Our experts manually fix accessibility issues across your website to meet WCAG standards, improve the experience for people with disabilities, and provide a detailed report of the improvements made.
270
+
271
+ [**VPAT Report / Accessibility Conformance Report (ACR)**](https://www.skynettechnologies.com/vpat-accessibility-conformance-report)
232
272
 
233
- Enhance inclusivity and user experience by evaluating your website’s accessibility by accessibility experts.
234
- WCAG 2.0 / WCAG 2.1 / WCAG 2.2 Level AA conformance testing
235
- Automated, semi-automated testing
236
- Manual testing
237
- Simple before-after UI/UX recommendations on how to fix the issues
238
- Comprehensive audit report
273
+ The Voluntary Product Accessibility Template (VPAT), also known as an Accessibility Conformance Report (ACR), starts with an audit and documents the current accessibility of a website, application, or other digital asset.
239
274
 
240
- ### **[Manual Accessibility Remediation](https://www.skynettechnologies.com/all-in-one-accessibility/addons#manual-accessibility-remediation)**
275
+ ## Accessibility Paid Add-ons
241
276
 
242
- Enhance website accessibility and inclusivity with our Manual Accessibility Remediation add-on. This service includes fixing accessibility issues and thorough remediation of your website manually. Our experts ensure accessibility with WCAG standards, improve user experience for those with disabilities, and provide a detailed report on the improvements made.
277
+ A faster, cost-effective way to extend accessibility across your website and documents.
243
278
 
244
- ### **[PDF/Document Accessibility Remediation](https://www.skynettechnologies.com/all-in-one-accessibility/addons#pdf-document-remediation)**
279
+ [**SkynetAccessibility Scanner**](https://www.skynettechnologies.com/accessibility-scanning-and-monitoring)
245
280
 
246
- The PDF / Document Remediation provides a list of inaccessible PDFs and remediated PDFs from where you can request PDF remediation service.
281
+ Automatically scan and monitor your website for WCAG and ADA issues, and track compliance progress quickly.
247
282
 
248
- ### **[VPAT Report/Accessibility Conformance Report(ACR)](https://www.skynettechnologies.com/all-in-one-accessibility/addons#vpat-acr-report)**
283
+ [**SkynetA11y PDF Remediation**](https://www.skynettechnologies.com/pdf-accessibility-remediation)
249
284
 
250
- The Voluntary Product Accessibility Template (VPAT), also known as an ACR (Accessibility Conformance Report) starts with an audit and provides current details for an accessible website, application, or any other digital assets.
285
+ AI-powered PDF accessibility remediation - upload PDFs, scan website PDFs, and download remediated files.
251
286
 
252
- ## Accessibility Widget Paid Add-ons
287
+ [**MS Office File Accessibility Checker**](https://www.skynettechnologies.com/file-accessibility-checker)
253
288
 
254
- ### **[White Label Accessibility](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)**
289
+ Microsoft Office files (Word, Excel, PowerPoint) accessible quickly and cost-effectively.
255
290
 
256
- Remove the Skynet technologies logo as well as all of the footer links, popups, report a problem link and more for full white label control.
291
+ [**Voice Search**](https://www.skynettechnologies.com/voice-enabled-search)
257
292
 
258
- ### **[Live Site Translations](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)**
293
+ Let visitors search your website using their voice.
259
294
 
260
- Translate your site into over 140 languages instantly to enhance accessibility for non-native speakers, individuals with language acquisition difficulties, and those with learning disabilities.
295
+ [**White Label Accessibility**](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)
261
296
 
262
- ### **[Modify Accessibility Menu](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)**
297
+ Remove the Skynet Technologies logo and all footer links, popups, the "report a problem" link, and more for full white-label control.
263
298
 
264
- Build and fine-tune your widget with the Modify Menu option. Reorder, remove and restructure the widget buttons to fit your users’ specific accessibility needs.
299
+ [**Instant Live Site Translations**](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)
265
300
 
266
- ## Accessibility Partnership Opportunities
301
+ Translate your website into over 190 languages instantly to enhance accessibility for non-native speakers, individuals with language acquisition difficulties, and those with learning disabilities.
267
302
 
268
- ### **[Accessibility Agencies Partnership](https://www.skynettechnologies.com/agency-partners)**
303
+ [**Modify Accessibility Menu**](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)
269
304
 
270
- 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.
305
+ Reorder, remove, and restructure menu buttons to fit users' specific accessibility needs.
271
306
 
272
- ### **[Accessibility Affiliated Partnership](https://www.skynettechnologies.com/affiliate-partner)**
307
+ ## Partnership Opportunities
273
308
 
274
- 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.
309
+ [**Agency Accessibility Partnership**](https://www.skynettechnologies.com/agency-partners)
275
310
 
276
- For more details, Please visit **[Accessibility Partnership Opportunities Page](https://www.skynettechnologies.com/partner-program)**
311
+ Partner with us as an agency to provide comprehensive ADA, EAA, and WCAG accessibility solutions to clients. Get access to exclusive resources, training, and support to implement and manage accessibility features effectively.
312
+
313
+ [**Affiliate Partnership**](https://www.skynettechnologies.com/affiliate-partner)
314
+
315
+ Earn commissions by promoting our accessibility solutions and help businesses improve their website accessibility.
316
+
317
+ For more details, explore [**accessibility partnership opportunities**](https://www.skynettechnologies.com/partner-program).
277
318
 
278
319
  ## Screenshots
279
320
 
@@ -285,18 +326,24 @@ For more details, Please visit **[Accessibility Partnership Opportunities Page](
285
326
 
286
327
  ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-4-free.jpg?v=3)
287
328
 
288
- ## Video
329
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-5-free.jpg?v=3)
289
330
 
290
- [![All in One Accessibility Website Widget](https://img.youtube.com/vi/X70XtvGyvSs/0.jpg)](https://www.youtube.com/watch?v=X70XtvGyvSs)
331
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-6-free.jpg?v=3)
332
+
333
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-7-free.jpg?v=3)
291
334
 
292
335
  ## Credits
293
336
 
294
- This addon is developed and maintained by **[Skynet Technologies USA LLC](https://www.skynettechnologies.com)**
337
+ This plugin is developed and maintained by [website accessibility remediation company](https://www.skynettechnologies.com/) – Skynet Technologies USA LLC.
295
338
 
296
339
  ## Current Maintainers
297
340
 
298
- - **[Skynet Technologies USA LLC](https://github.com/skynettechnologies)**
341
+ - [**Skynet Technologies USA LLC**](https://github.com/skynettechnologies)
299
342
 
300
343
  ## License
301
344
 
302
345
  [MIT](LICENSE) © Skynet Technologies USA LLC
346
+
347
+ ---
348
+
349
+ _README Version: 26.10.27_
package/dist/index.d.ts CHANGED
@@ -1,7 +1,35 @@
1
1
  import {Plugin as Plugin_2} from 'sanity'
2
2
 
3
- declare interface aioaPluginConfig {}
3
+ /** Options of AllinOneAccessibilityPlugin() in sanity.config */
4
+ export declare interface AllinOneAccessibilityOptions {
5
+ /** Website domain whose widget is set up, e.g. "www.example.com". Default: the Studio's hostname. */
6
+ websiteUrl?: string
7
+ /** Admin name sent once, when a new website is registered. Default: the signed-in user's name. */
8
+ username?: string
9
+ /** Admin email sent once, when a new website is registered. Default: the signed-in user's email. */
10
+ email?: string
11
+ }
4
12
 
5
- export declare const AllinOneAccessibilityPlugin: Plugin_2<void | aioaPluginConfig>
13
+ /**
14
+ * All in One Accessibility® settings as a Studio tool.
15
+ *
16
+ * Usage in `sanity.config.ts` (or .js):
17
+ *
18
+ * ```ts
19
+ * import {defineConfig} from 'sanity'
20
+ * import {AllinOneAccessibilityPlugin} from 'sanity-plugin-all-in-one-accessibility'
21
+ *
22
+ * export default defineConfig({
23
+ * // ...
24
+ * plugins: [
25
+ * AllinOneAccessibilityPlugin({
26
+ * // Optional: the website the widget runs on (default: the Studio's hostname)
27
+ * websiteUrl: 'www.example.com',
28
+ * }),
29
+ * ],
30
+ * })
31
+ * ```
32
+ */
33
+ export declare const AllinOneAccessibilityPlugin: Plugin_2<void | AllinOneAccessibilityOptions>
6
34
 
7
35
  export {}