sanity-plugin-all-in-one-accessibility 1.0.5 → 1.0.7
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.
- package/README.md +51 -24
- package/dist/index.js +55 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +55 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/plugin.tsx +15 -7
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Enhance Your Website's Accessibility with All in One Accessibility®
|
|
4
4
|
|
|
5
|
-
**Did you know?** Your website's accessibility can make or break your audience's experience. With the **All in One Accessibility
|
|
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.
|
|
6
6
|
|
|
7
7
|
### Why All in One Accessibility®?
|
|
8
8
|
|
|
@@ -14,7 +14,13 @@ This lightweight and flexible widget is designed to improve your website’s com
|
|
|
14
14
|
- **ATAG 2.0** (Authoring Tool Accessibility Guidelines)
|
|
15
15
|
- **PDF/UA – ISO 14289** (Accessible PDF Format)
|
|
16
16
|
|
|
17
|
+
### **European Union**
|
|
18
|
+
|
|
19
|
+
- **EAA / EN 301 549 Accessibility**
|
|
20
|
+
- **EN 301 549 v4.1.1**
|
|
21
|
+
|
|
17
22
|
### **United States**
|
|
23
|
+
|
|
18
24
|
- **ADA (Americans with Disabilities Act)**
|
|
19
25
|
- **ADA Title III Website Accessibility**
|
|
20
26
|
- **Section 508 (U.S. Government Standard)**
|
|
@@ -36,75 +42,91 @@ This lightweight and flexible widget is designed to improve your website’s com
|
|
|
36
42
|
- **Washington State ADA Compliance**
|
|
37
43
|
|
|
38
44
|
### **Canada**
|
|
39
|
-
|
|
45
|
+
|
|
46
|
+
- **AODA (Accessibility for Ontarians with Disabilities Act)**
|
|
40
47
|
- **ACA (Accessible Canada Act)**
|
|
41
48
|
|
|
42
49
|
### **United Kingdom**
|
|
43
|
-
- **UK Equality Act (EA)**
|
|
44
50
|
|
|
45
|
-
|
|
46
|
-
- **EAA / EN 301 549 Accessibility**
|
|
47
|
-
- **EN 301 549 v4.1.1**
|
|
51
|
+
- **UK Equality Act (EA)**
|
|
48
52
|
|
|
49
53
|
### **France**
|
|
54
|
+
|
|
50
55
|
- **RGAA (Référentiel Général d’Amélioration de l’Accessibilité)**
|
|
51
56
|
|
|
52
57
|
### **Germany**
|
|
58
|
+
|
|
53
59
|
- **BITV (Barrierefreie-Informationstechnik-Verordnung)**
|
|
54
60
|
|
|
55
61
|
### **Italy**
|
|
62
|
+
|
|
56
63
|
- **Italian Stanca Act**
|
|
57
64
|
|
|
58
65
|
### **Spain**
|
|
66
|
+
|
|
59
67
|
- **UNE 139803:2012**
|
|
60
68
|
|
|
61
69
|
### **Austria**
|
|
70
|
+
|
|
62
71
|
- **WZG (Austrian Web Accessibility Act)**
|
|
63
72
|
|
|
64
73
|
### **Switzerland**
|
|
74
|
+
|
|
65
75
|
- **Swiss Disability Discrimination Act (DDA)**
|
|
66
76
|
|
|
67
77
|
### **Sweden**
|
|
78
|
+
|
|
68
79
|
- **Swedish Discrimination Act (2008:567)**
|
|
69
80
|
|
|
70
81
|
### **Israel**
|
|
82
|
+
|
|
71
83
|
- **IS 5568 (Israeli Standard)**
|
|
72
84
|
|
|
73
85
|
### **Australia**
|
|
86
|
+
|
|
74
87
|
- **Australian DDA (Disability Discrimination Act)**
|
|
75
88
|
|
|
76
89
|
### **India**
|
|
77
|
-
|
|
90
|
+
|
|
91
|
+
- **RPD Act (Rights of Persons with Disabilities Act)**
|
|
78
92
|
- **GIGW 3.0 (Guidelines for Indian Government Websites)**
|
|
79
93
|
|
|
80
94
|
### **Brazil**
|
|
95
|
+
|
|
81
96
|
- **LBI 13.146/2015 (Brazilian Inclusion Law)**
|
|
82
97
|
|
|
83
98
|
### **Mexico**
|
|
99
|
+
|
|
84
100
|
- **ADA-Inspired Web Accessibility Compliance**
|
|
85
101
|
|
|
86
102
|
### **Japan**
|
|
103
|
+
|
|
87
104
|
- **JIS X 8341**
|
|
88
105
|
|
|
89
106
|
### **South Korea**
|
|
107
|
+
|
|
90
108
|
- **KWCAG 2.1 (Korean Web Content Accessibility Guidelines)**
|
|
91
109
|
|
|
92
110
|
### **Singapore**
|
|
111
|
+
|
|
93
112
|
- **DSS and SGDS (Design System and Digital Standards)**
|
|
94
113
|
|
|
95
114
|
### **Malaysia**
|
|
115
|
+
|
|
96
116
|
- **PWD Act 2008 (Persons with Disabilities Act)**
|
|
97
117
|
|
|
98
118
|
### **Thailand**
|
|
119
|
+
|
|
99
120
|
- **PDA 2013 (Persons with Disabilities Empowerment Act)**
|
|
100
121
|
|
|
101
122
|
### **United Arab Emirates**
|
|
123
|
+
|
|
102
124
|
- **UAE Disability Act (Federal Law No. 29 of 2006)**
|
|
103
125
|
|
|
104
126
|
For more details on supported accessibility laws and standards, visit
|
|
105
|
-
**[
|
|
127
|
+
**[Accessibility AI Widget Supported Standards](https://www.skynettechnologies.com/accessibility-standards)**
|
|
106
128
|
|
|
107
|
-
By implementing the widget, you’re not only enhancing user experience but also minimizing the risk of costly accessibility lawsuits. For more details, visit **[
|
|
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)**
|
|
108
130
|
|
|
109
131
|
### Built for Excellence
|
|
110
132
|
|
|
@@ -124,7 +146,7 @@ Try it risk-free with our **10-day free trial**! Don’t wait, experience the be
|
|
|
124
146
|
|
|
125
147
|
**Your website’s accessibility journey begins here. Make an impact.**
|
|
126
148
|
|
|
127
|
-
For more details, visit **[
|
|
149
|
+
For more details, visit **[Accessibility AI Widget](https://www.skynettechnologies.com/all-in-one-accessibility)** and transform your digital presence.
|
|
128
150
|
|
|
129
151
|
### Supported Languages (140+ Languages)
|
|
130
152
|
|
|
@@ -178,7 +200,6 @@ To avoid CORS policy issues, ensure the following URLs are allowed in your websi
|
|
|
178
200
|
| `https://*.gstatic.com` | Fonts APIs | Custom Fonts |
|
|
179
201
|
| `https://vlibras.gov.br` | VLibras - Brazilian Sign Language Service | Sign Language |
|
|
180
202
|
|
|
181
|
-
|
|
182
203
|
## Instructions
|
|
183
204
|
|
|
184
205
|
1. Update your server's CORS configuration to include these URLs.
|
|
@@ -207,7 +228,7 @@ Alternatively, you can send an email to our support team:
|
|
|
207
228
|
|
|
208
229
|
## Accessibility Paid Add-on Services
|
|
209
230
|
|
|
210
|
-
### **[Manual Accessibility Audit
|
|
231
|
+
### **[Manual Accessibility Audit](https://www.skynettechnologies.com/all-in-one-accessibility/addons#manual-accessibility-audit-report)**
|
|
211
232
|
|
|
212
233
|
Enhance inclusivity and user experience by evaluating your website’s accessibility by accessibility experts.
|
|
213
234
|
WCAG 2.0 / WCAG 2.1 / WCAG 2.2 Level AA conformance testing
|
|
@@ -217,50 +238,56 @@ Simple before-after UI/UX recommendations on how to fix the issues
|
|
|
217
238
|
Comprehensive audit report
|
|
218
239
|
|
|
219
240
|
### **[Manual Accessibility Remediation](https://www.skynettechnologies.com/all-in-one-accessibility/addons#manual-accessibility-remediation)**
|
|
241
|
+
|
|
220
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.
|
|
221
243
|
|
|
222
244
|
### **[PDF/Document Accessibility Remediation](https://www.skynettechnologies.com/all-in-one-accessibility/addons#pdf-document-remediation)**
|
|
245
|
+
|
|
223
246
|
The PDF / Document Remediation provides a list of inaccessible PDFs and remediated PDFs from where you can request PDF remediation service.
|
|
224
|
-
|
|
247
|
+
|
|
225
248
|
### **[VPAT Report/Accessibility Conformance Report(ACR)](https://www.skynettechnologies.com/all-in-one-accessibility/addons#vpat-acr-report)**
|
|
249
|
+
|
|
226
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.
|
|
227
251
|
|
|
228
252
|
## Accessibility Widget Paid Add-ons
|
|
229
253
|
|
|
230
|
-
### **[White Label](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)**
|
|
254
|
+
### **[White Label Accessibility](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)**
|
|
255
|
+
|
|
231
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.
|
|
232
257
|
|
|
233
258
|
### **[Live Site Translations](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)**
|
|
259
|
+
|
|
234
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.
|
|
235
261
|
|
|
236
|
-
###
|
|
262
|
+
### **[Modify Accessibility Menu](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)**
|
|
263
|
+
|
|
237
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.
|
|
238
265
|
|
|
239
266
|
## Accessibility Partnership Opportunities
|
|
240
267
|
|
|
241
|
-
### **[Agencies Partnership](https://www.skynettechnologies.com/agency-partners)**
|
|
268
|
+
### **[Accessibility Agencies Partnership](https://www.skynettechnologies.com/agency-partners)**
|
|
242
269
|
|
|
243
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.
|
|
244
271
|
|
|
245
|
-
### **[Affiliated Partnership](https://www.skynettechnologies.com/affiliate-partner)**
|
|
272
|
+
### **[Accessibility Affiliated Partnership](https://www.skynettechnologies.com/affiliate-partner)**
|
|
246
273
|
|
|
247
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.
|
|
248
275
|
|
|
249
|
-
For more details, Please visit **[Partnership Opportunities Page](https://www.skynettechnologies.com/partner-program)**
|
|
276
|
+
For more details, Please visit **[Accessibility Partnership Opportunities Page](https://www.skynettechnologies.com/partner-program)**
|
|
250
277
|
|
|
251
278
|
## Screenshots
|
|
252
279
|
|
|
253
|
-

|
|
254
281
|
|
|
255
|
-

|
|
256
283
|
|
|
257
|
-

|
|
258
285
|
|
|
259
|
-

|
|
260
287
|
|
|
261
288
|
## Video
|
|
262
289
|
|
|
263
|
-
[](https://
|
|
290
|
+
[](https://www.youtube.com/watch?v=X70XtvGyvSs)
|
|
264
291
|
|
|
265
292
|
## Credits
|
|
266
293
|
|
|
@@ -272,4 +299,4 @@ This addon is developed and maintained by **[Skynet Technologies USA LLC](https:
|
|
|
272
299
|
|
|
273
300
|
## License
|
|
274
301
|
|
|
275
|
-
[MIT](LICENSE) © Skynet Technologies USA LLC
|
|
302
|
+
[MIT](LICENSE) © Skynet Technologies USA LLC
|
package/dist/index.js
CHANGED
|
@@ -26,7 +26,7 @@ const PluginIcon = () => /* @__PURE__ */ jsxRuntime.jsx("img", { src: "https://s
|
|
|
26
26
|
icontype: settingList.Icon_Type,
|
|
27
27
|
iconsize: settingList.Icon_Size,
|
|
28
28
|
widget_size: "0"
|
|
29
|
-
}), settingList.Icon_Type === "aioa-icon-type-2" ? setIconSize(aioaicontype2) : settingList.Icon_Type === "aioa-icon-type-3" ? setIconSize(aioaicontype3) : setIconSize(aioaicontype1)),
|
|
29
|
+
}), settingList.Icon_Type === "aioa-icon-type-2" ? setIconSize(aioaicontype2) : settingList.Icon_Type === "aioa-icon-type-3" ? setIconSize(aioaicontype3) : setIconSize(aioaicontype1)), fetchApiData();
|
|
30
30
|
}, [settingList]), react.useEffect(() => {
|
|
31
31
|
console.log(parameters), console.log("parameters.position : ", parameters.position === "bottom_center");
|
|
32
32
|
}, [parameters]), react.useEffect(() => {
|
|
@@ -161,7 +161,60 @@ const PluginIcon = () => /* @__PURE__ */ jsxRuntime.jsx("img", { src: "https://s
|
|
|
161
161
|
default:
|
|
162
162
|
setIconSize(aioaicontype1);
|
|
163
163
|
}
|
|
164
|
-
}
|
|
164
|
+
};
|
|
165
|
+
function fetchApiData() {
|
|
166
|
+
const username = window.location.hostname, useremail = "no-reply@" + window.location.hostname + ".com", arrDetails = {
|
|
167
|
+
name: username,
|
|
168
|
+
email: useremail,
|
|
169
|
+
company_name: username,
|
|
170
|
+
website: btoa(window.location.hostname),
|
|
171
|
+
package_type: "free-widget",
|
|
172
|
+
start_date: (/* @__PURE__ */ new Date()).toISOString(),
|
|
173
|
+
end_date: "",
|
|
174
|
+
price: "",
|
|
175
|
+
discount_price: "0",
|
|
176
|
+
platform: "sanity",
|
|
177
|
+
api_key: "",
|
|
178
|
+
is_trial_period: "",
|
|
179
|
+
is_free_widget: "0",
|
|
180
|
+
bill_address: "",
|
|
181
|
+
country: "",
|
|
182
|
+
state: "",
|
|
183
|
+
city: "",
|
|
184
|
+
post_code: "",
|
|
185
|
+
transaction_id: "",
|
|
186
|
+
subscr_id: "",
|
|
187
|
+
payment_source: ""
|
|
188
|
+
};
|
|
189
|
+
fetch("https://ada.skynettechnologies.us/api/get-autologin-link", {
|
|
190
|
+
method: "POST",
|
|
191
|
+
headers: {
|
|
192
|
+
"Content-Type": "application/json"
|
|
193
|
+
},
|
|
194
|
+
body: JSON.stringify({ website: window.location.hostname })
|
|
195
|
+
}).then((response) => {
|
|
196
|
+
if (!response.ok)
|
|
197
|
+
throw new Error(`HTTP error! status: ${response.status}`);
|
|
198
|
+
return getAPIData(), response.json();
|
|
199
|
+
}).then((result) => {
|
|
200
|
+
result && result.link ? getAPIData() : fetch("https://ada.skynettechnologies.us/api/add-user-domain", {
|
|
201
|
+
method: "POST",
|
|
202
|
+
headers: {
|
|
203
|
+
"Content-Type": "application/json"
|
|
204
|
+
},
|
|
205
|
+
body: JSON.stringify(arrDetails)
|
|
206
|
+
}).then((response) => {
|
|
207
|
+
if (!response.ok)
|
|
208
|
+
throw new Error(`HTTP error! Status: ${response.status}`);
|
|
209
|
+
return getAPIData(), response.json();
|
|
210
|
+
}).then((data) => {
|
|
211
|
+
data.success && getAPIData();
|
|
212
|
+
}).catch((error) => {
|
|
213
|
+
});
|
|
214
|
+
}).catch((error) => {
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
const elementStyle = {
|
|
165
218
|
marginTop: "0px",
|
|
166
219
|
display: "flex",
|
|
167
220
|
justifyContent: "center",
|