apostrophecms-plugin-all-in-one-accessibility 1.0.7 → 2.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 (78) hide show
  1. package/README.md +173 -168
  2. package/app/config.js +134 -0
  3. package/app/helpers.js +62 -0
  4. package/app/skynet-widget.js +509 -0
  5. package/assets/css/banners.css +77 -0
  6. package/assets/css/base.css +50 -0
  7. package/assets/css/components.css +91 -0
  8. package/assets/css/paid.css +53 -0
  9. package/assets/css/responsive.css +70 -0
  10. package/assets/css/score.css +42 -0
  11. package/assets/css/settings.css +154 -0
  12. package/assets/css/tabs.css +52 -0
  13. package/assets/css/tokens.css +53 -0
  14. package/assets/images/icons/aioa-icon-type-1.svg +1 -0
  15. package/assets/images/icons/aioa-icon-type-10.svg +1 -0
  16. package/assets/images/icons/aioa-icon-type-11.svg +1 -0
  17. package/assets/images/icons/aioa-icon-type-12.svg +1 -0
  18. package/assets/images/icons/aioa-icon-type-13.svg +1 -0
  19. package/assets/images/icons/aioa-icon-type-14.svg +29 -0
  20. package/assets/images/icons/aioa-icon-type-15.svg +26 -0
  21. package/assets/images/icons/aioa-icon-type-16.svg +17 -0
  22. package/assets/images/icons/aioa-icon-type-17.svg +24 -0
  23. package/assets/images/icons/aioa-icon-type-18.svg +20 -0
  24. package/assets/images/icons/aioa-icon-type-19.svg +25 -0
  25. package/assets/images/icons/aioa-icon-type-2.svg +1 -0
  26. package/assets/images/icons/aioa-icon-type-20.svg +24 -0
  27. package/assets/images/icons/aioa-icon-type-21.svg +28 -0
  28. package/assets/images/icons/aioa-icon-type-22.svg +21 -0
  29. package/assets/images/icons/aioa-icon-type-23.svg +21 -0
  30. package/assets/images/icons/aioa-icon-type-24.svg +21 -0
  31. package/assets/images/icons/aioa-icon-type-25.svg +15 -0
  32. package/assets/images/icons/aioa-icon-type-26.svg +23 -0
  33. package/assets/images/icons/aioa-icon-type-27.svg +21 -0
  34. package/assets/images/icons/aioa-icon-type-28.svg +27 -0
  35. package/assets/images/icons/aioa-icon-type-29.svg +25 -0
  36. package/assets/images/icons/aioa-icon-type-3.svg +1 -0
  37. package/assets/images/icons/aioa-icon-type-4.svg +16 -0
  38. package/assets/images/icons/aioa-icon-type-5.svg +1 -0
  39. package/assets/images/icons/aioa-icon-type-6.svg +1 -0
  40. package/assets/images/icons/aioa-icon-type-7.svg +1 -0
  41. package/assets/images/icons/aioa-icon-type-8.svg +1 -0
  42. package/assets/images/icons/aioa-icon-type-9.svg +1 -0
  43. package/assets/js/app.js +152 -0
  44. package/assets/js/core.js +249 -0
  45. package/assets/js/dashboard.js +97 -0
  46. package/assets/js/paid-features.js +237 -0
  47. package/assets/js/plan.js +65 -0
  48. package/assets/js/save.js +35 -0
  49. package/assets/js/score.js +130 -0
  50. package/assets/js/settings-form.js +371 -0
  51. package/assets/js/tabs.js +108 -0
  52. package/assets/js/ui.js +90 -0
  53. package/index.js +301 -15
  54. package/package.json +19 -9
  55. package/ui/apos/components/AllInOneAccessibilitySettings.vue +126 -679
  56. package/views/layout.ejs +97 -0
  57. package/views/partials/accessibility-score.ejs +37 -0
  58. package/views/partials/header.ejs +13 -0
  59. package/views/partials/lock.ejs +20 -0
  60. package/views/partials/paid/links.ejs +33 -0
  61. package/views/partials/paid/mobile-position.ejs +80 -0
  62. package/views/partials/paid/toggles.ejs +20 -0
  63. package/views/partials/paid-banner.ejs +19 -0
  64. package/views/partials/paid-features.ejs +14 -0
  65. package/views/partials/score/card.ejs +61 -0
  66. package/views/partials/settings/color.ejs +37 -0
  67. package/views/partials/settings/icon-size.ejs +43 -0
  68. package/views/partials/settings/icon-type.ejs +24 -0
  69. package/views/partials/settings/position.ejs +70 -0
  70. package/views/partials/settings/save-bar.ejs +9 -0
  71. package/views/partials/settings/widget-size.ejs +38 -0
  72. package/views/partials/settings-form.ejs +39 -0
  73. package/views/partials/site-strip.ejs +5 -0
  74. package/views/partials/status.ejs +16 -0
  75. package/views/partials/tabs.ejs +32 -0
  76. package/views/partials/upgrade-banner.ejs +34 -0
  77. package/views/scriptTag.html +7 -1
  78. package/ui/apos/apps/AllInOneAccessibilitySettings.js +0 -8
package/README.md CHANGED
@@ -1,262 +1,265 @@
1
- # All in One Accessibility®: Apostrophe CMS Plugin
1
+ # All in One Accessibility® – Free ADA Accessibility Widget for ApostropheCMS
2
2
 
3
- ## Enhance Your Website's Accessibility with All in One Accessibility®
3
+ This [free ApostropheCMS accessibility plugin](https://www.skynettechnologies.com/apostrophe-cms-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 ApostropheCMS 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
+ - Integrates smoothly with most ApostropheCMS themes and templates.
38
+ - Free support from our team for installation and queries.
39
+ - Core features at no cost.
45
40
 
46
- - **AODA (Accessibility for Ontarians with Disabilities Act)**
47
- - **ACA (Accessible Canada Act)**
41
+ ## Free vs Paid
48
42
 
49
- ### **United Kingdom**
43
+ See the full [free widget vs paid app comparison](https://www.skynettechnologies.com/installation-guide/free-vs-paid-accessibility-widget-comparison-video).
50
44
 
51
- - **UK Equality Act (EA)**
45
+ ## Security and Privacy
52
46
 
53
- ### **France**
47
+ - 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.
48
+ - Skynet Technologies USA LLC is an organizational member of IAAP and W3C.
49
+ - No personal data is intentionally stored by the plugin itself.
50
+ - Site owners are responsible for reviewing their own compliance requirements.
54
51
 
55
- - **RGAA (Référentiel Général d’Amélioration de l’Accessibilité)**
52
+ ## Limitations
56
53
 
57
- ### **Germany**
54
+ - Some advanced features require a commercial subscription and Paid Add-ons.
55
+ - The plugin improves accessibility and usability but is not a full replacement for manual WCAG remediation.
58
56
 
59
- - **BITV (Barrierefreie-Informationstechnik-Verordnung)**
57
+ For more details, visit [**ApostropheCMS accessibility plugin**](https://www.skynettechnologies.com/apostrophe-cms-website-accessibility).
60
58
 
61
- ### **Italy**
59
+ ## FAQs
62
60
 
63
- - **Italian Stanca Act**
61
+ **Does this free accessibility plugin support multilingual ApostropheCMS sites?**
64
62
 
65
- ### **Spain**
63
+ Yes. It supports 190+ languages.
66
64
 
67
- - **UNE 139803:2012**
65
+ **Which languages do the screen reader, virtual keyboard, and other advanced features support?**
68
66
 
69
- ### **Austria**
67
+ The widget interface supports 190+ languages. In the paid app, Screen Reader supports 100+, Voice Navigation 50+, Talk & Type 50+, Virtual Keyboard 40+, Dictionary Search 20+, and Live Site Translation 160+. [See language support details](https://www.skynettechnologies.com/all-in-one-accessibility/languages).
70
68
 
71
- - **WZG (Austrian Web Accessibility Act)**
69
+ **How can I upgrade from the free widget to the paid app?**
72
70
 
73
- ### **Switzerland**
71
+ 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
72
 
75
- - **Swiss Disability Discrimination Act (DDA)**
73
+ **What additional features are available in the paid version?**
76
74
 
77
- ### **Sweden**
75
+ 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), American 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
76
 
79
- - **Swedish Discrimination Act (2008:567)**
77
+ **Can I try the paid app before buying?**
80
78
 
81
- ### **Israel**
79
+ Yes. The paid app comes with a [10-day free trial](https://ada.skynettechnologies.us/trial-subscription) that includes all features.
82
80
 
83
- - **IS 5568 (Israeli Standard)**
81
+ **Which themes are supported?**
84
82
 
85
- ### **Australia**
83
+ ApostropheCMS Essentials starter kit, custom JSX and Nunjucks layouts (the module adds the widget to `<head>` itself, so no template changes are needed), and many more.
86
84
 
87
- - **Australian DDA (Disability Discrimination Act)**
85
+ ## Supported Languages (190+)
88
86
 
89
- ### **India**
87
+ 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, دری
90
88
 
91
- - **RPD Act (Rights of Persons with Disabilities Act)**
92
- - **GIGW 3.0 (Guidelines for Indian Government Websites)**
89
+ ## Prerequisites
93
90
 
94
- ### **Brazil**
91
+ - ApostropheCMS 4.x
92
+ - Node.js 18.18 or newer (and the Node.js version your ApostropheCMS release needs)
93
+ - Outbound HTTPS from the server to `ada.skynettechnologies.us`, `freeada.skynettechnologies.com` and `skynetaccessibilityscan.com` (settings page)
94
+ - Tested and verified on ApostropheCMS 4.34.1
95
95
 
96
- - **LBI 13.146/2015 (Brazilian Inclusion Law)**
97
-
98
- ### **Mexico**
99
-
100
- - **ADA-Inspired Web Accessibility Compliance**
101
-
102
- ### **Japan**
103
-
104
- - **JIS X 8341**
105
-
106
- ### **South Korea**
107
-
108
- - **KWCAG 2.1 (Korean Web Content Accessibility Guidelines)**
109
-
110
- ### **Singapore**
96
+ ## Installation
111
97
 
112
- - **DSS and SGDS (Design System and Digital Standards)**
98
+ 1. Install the module in your ApostropheCMS project:
113
99
 
114
- ### **Malaysia**
100
+ ```bash
101
+ npm install apostrophecms-plugin-all-in-one-accessibility
102
+ ```
115
103
 
116
- - **PWD Act 2008 (Persons with Disabilities Act)**
104
+ 2. Turn it on in `app.js`:
117
105
 
118
- ### **Thailand**
106
+ ```js
107
+ apostrophe({
108
+ root: import.meta,
109
+ shortName: 'my-project',
110
+ modules: {
111
+ // ...your other modules
112
+ 'apostrophecms-plugin-all-in-one-accessibility': {}
113
+ }
114
+ });
115
+ ```
119
116
 
120
- - **PDA 2013 (Persons with Disabilities Empowerment Act)**
117
+ 3. Restart the site (`npm run dev`, or `npm run build` and `npm run serve` in production). The widget is added to `<head>` on every page, so no template changes are needed.
121
118
 
122
- ### **United Arab Emirates**
119
+ **Module options** (all optional):
123
120
 
124
- - **UAE Disability Act (Federal Law No. 29 of 2006)**
121
+ | Option | Default | Description |
122
+ | --- | --- | --- |
123
+ | `domain` | the host of `baseUrl`, otherwise the host of the request | Website the widget is registered and configured for, for example `www.example.com`. |
124
+ | `widget` | `true` | `false` turns the widget off without removing the module. |
125
+ | `region` | `'auto'` | Widget script: `'auto'` uses the EU script when the website was registered from the EU, `'eu'` or `'global'` always use that script. |
126
+ | `settingsPath` | `/api/v1/apostrophecms-plugin-all-in-one-accessibility/settings` | Path of the settings page. |
125
127
 
126
- For more details on supported accessibility laws and standards, visit
127
- **[Accessibility AI Widget Supported Standards](https://www.skynettechnologies.com/accessibility-standards)**
128
+ ```js
129
+ 'apostrophecms-plugin-all-in-one-accessibility': {
130
+ options: {
131
+ domain: 'www.example.com'
132
+ }
133
+ }
134
+ ```
128
135
 
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)**
136
+ **Upgrading from version 1.x:** update the package and register the module under its package name, `'apostrophecms-plugin-all-in-one-accessibility': {}`, in `app.js`. The settings now open in a modal from the admin bar, for admins only.
130
137
 
131
- ### Built for Excellence
138
+ Package name: `apostrophecms-plugin-all-in-one-accessibility`
132
139
 
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)**.
140
+ Check out our [**ApostropheCMS WCAG accessibility widget installation steps**](https://www.skynettechnologies.com/blog/apostrophe-cms-web-accessibility-widget-installation).
136
141
 
137
- ### Upgrade to Unlock Premium Features
142
+ ## Configuration
138
143
 
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)**.
144
+ Configure the widget from the ApostropheCMS admin bar.
140
145
 
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).**
146
+ **Path:** Admin bar → All in One Accessibility
142
147
 
143
- ### Start Your Accessibility Journey Today
148
+ **Steps:**
144
149
 
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.
150
+ 1. Log in to the ApostropheCMS admin panel (`/login`) as an admin.
151
+ 2. Navigate to Admin bar → All in One Accessibility. The settings open in a modal (**Open in new tab** shows them full size).
152
+ 3. The first time the settings open, your website is registered for the free widget with your name and email.
153
+ 4. Configure options (color, icon type, position, size).
154
+ 5. Save your changes. The widget on your website loads the new settings by itself, with no restart needed.
146
155
 
147
- **Your website’s accessibility journey begins here. Make an impact.**
156
+ Only admins see the admin bar item and can open the settings page.
148
157
 
149
- For more details, visit **[Accessibility AI Widget](https://www.skynettechnologies.com/all-in-one-accessibility)** and transform your digital presence.
158
+ ## Demo
150
159
 
151
- ### Supported Languages (140+ Languages)
160
+ See how the widget performs with improved accessibility features:
152
161
 
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, دری.
162
+ [![Free accessibility widget demo video](https://img.youtube.com/vi/VMHx30aUnR4/0.jpg)](https://www.youtube.com/watch?v=VMHx30aUnR4)
154
163
 
155
- ## Installation
164
+ ## CORS Policy Configuration
156
165
 
157
- ```sh
158
- npm install apostrophecms-plugin-all-in-one-accessibility
159
- ```
166
+ To avoid CORS policy issues, ensure the following URLs are allowed on your website. Add them to your CORS configuration or trusted domains list.
160
167
 
161
- ## Setup & Usage
168
+ | **Domain** | **Description** | **Usage** |
169
+ | --- | --- | --- |
170
+ | https://\*.skynettechnologies.com | Skynet Technologies (Global Domain) | API access and resources |
171
+ | https://\*.skynettechnologies.us | Skynet Technologies (US Domain) | API access and resources |
172
+ | https://skynetaccessibilityscan.com | SkynetAccessibility Scanner | Accessibility scan results and score |
173
+ | https://\*.googleapis.com | Google APIs | Services like Fonts, Translation |
174
+ | https://\*.gstatic.com | Fonts APIs | Custom Fonts |
175
+ | https://vlibras.gov.br | VLibras – Brazilian Sign Language Service | Sign Language |
176
+ | 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/`) |
162
177
 
163
- Add it as a plugin in `app.js`
178
+ **Instructions**
164
179
 
165
- ```js
166
- apostrophe({
167
- modules: {
168
- 'apostrophecms-all-in-one-accessibility': {},
169
- }
170
- });
180
+ 1. Update your server's CORS configuration to include these URLs.
181
+ 2. Ensure wildcard subdomains (\*) are supported where necessary.
182
+ 3. Verify functionality by testing requests to these domains.
183
+ 4. If issues persist, consult the documentation for CORS configuration guidance.
171
184
 
172
- ```
185
+ ## Documentation
173
186
 
174
- ## CORS Policy Configuration
187
+ - [**ApostropheCMS Accessibility plugin**](https://www.skynettechnologies.com/apostrophe-cms-website-accessibility)
188
+ - [**How to install the accessibility widget on ApostropheCMS**](https://www.skynettechnologies.com/blog/apostrophe-cms-web-accessibility-widget-installation)
189
+ - [**Free Accessibility Widget Features Guide**](https://www.skynettechnologies.com/sites/default/files/Free-Accessibility-Widget-Features-Guide.pdf)
190
+ - [**Free Widget vs Paid App Comparison**](https://www.skynettechnologies.com/installation-guide/free-vs-paid-accessibility-widget-comparison-video)
175
191
 
176
- 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.
192
+ ## Support
177
193
 
178
- | **Domain** | **Description** | **Usage** |
179
- |------------------------------------|----------------------------------------------|----------------------------------|
180
- | `https://*.skynettechnologies.com` | Skynet Technologies (Global Domain) | API access and resources |
181
- | `https://*.skynettechnologies.us` | Skynet Technologies (US Domain) | API access and resources |
182
- | `https://*.googleapis.com` | Google APIs | Services like Fonts, Translation |
183
- | `https://*.gstatic.com` | Fonts APIs | Custom Fonts |
184
- | `https://vlibras.gov.br` | VLibras - Brazilian Sign Language Service | Sign Language |
194
+ **Submit a Support Request**
185
195
 
186
- ## Instructions
196
+ 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.
187
197
 
188
- 1. Update your server's CORS configuration to include these URLs.
189
- 2. Ensure wildcard subdomains (`*`) are supported where necessary.
190
- 3. Verify the application functionality by testing requests to these domains.
191
- 4. If issues persist, consult the documentation for CORS configuration guidance.
198
+ **Send Us an Email**
192
199
 
193
- ## Configuration
200
+ Email our support team: [**hello@skynettechnologies.com**](mailto:hello@skynettechnologies.com)
194
201
 
195
- 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.
202
+ ## Accessibility Paid Add-on Services
196
203
 
197
- ## Documentation
204
+ [**Manual Accessibility Audit**](https://www.skynettechnologies.com/website-accessibility-audit)
198
205
 
199
- - **[Apostrophe CMS All in One Accessibility](https://www.skynettechnologies.com/apostrophe-cms-website-accessibility)**
200
- - **[How to install All in One Accessibility Extension on Apostrophe CMS blog](https://www.skynettechnologies.com/blog/apostrophe-cms-web-accessibility-widget-installation)**
201
- - **[All in One Accessibility - Features Guide](https://www.skynettechnologies.com/sites/default/files/accessibility-widget-features-list.pdf)**
206
+ - Evaluate your website's accessibility with a [web accessibility consultant](https://www.skynettechnologies.com/web-accessibility-consultant).
207
+ - WCAG 2.0 / 2.1 / 2.2 Level AA conformance testing
208
+ - Automated, semi-automated, and manual testing
209
+ - Simple before-after UI/UX recommendations on how to fix the issues
210
+ - Comprehensive audit report
202
211
 
203
- ## Submit a Support Request
212
+ [**Manual Accessibility Remediation**](https://www.skynettechnologies.com/full-website-accessibility-remediation)
204
213
 
205
- 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.
214
+ 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.
206
215
 
207
- ## Send Us an Email
216
+ [**VPAT Report / Accessibility Conformance Report (ACR)**](https://www.skynettechnologies.com/vpat-accessibility-conformance-report)
208
217
 
209
- Alternatively, you can send an email to our support team:
210
- **[hello@skynettechnologies.com](mailto:hello@skynettechnologies.com)**
218
+ 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.
211
219
 
212
- ## Accessibility Paid Add-on Services
220
+ ## Accessibility Paid Add-ons
213
221
 
214
- ### **[Manual Accessibility Audit](https://www.skynettechnologies.com/all-in-one-accessibility/addons#manual-accessibility-audit-report)**
222
+ A faster, cost-effective way to extend accessibility across your website and documents.
215
223
 
216
- Enhance inclusivity and user experience by evaluating your website’s accessibility by accessibility experts.
217
- WCAG 2.0 / WCAG 2.1 / WCAG 2.2 Level AA conformance testing
218
- Automated, semi-automated testing
219
- Manual testing
220
- Simple before-after UI/UX recommendations on how to fix the issues
221
- Comprehensive audit report
224
+ [**SkynetAccessibility Scanner**](https://www.skynettechnologies.com/accessibility-scanning-and-monitoring)
222
225
 
223
- ### **[Manual Accessibility Remediation](https://www.skynettechnologies.com/all-in-one-accessibility/addons#manual-accessibility-remediation)**
226
+ Automatically scan and monitor your website for WCAG and ADA issues, and track compliance progress quickly.
224
227
 
225
- 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.
228
+ [**SkynetA11y PDF Remediation**](https://www.skynettechnologies.com/pdf-accessibility-remediation)
226
229
 
227
- ### **[PDF/Document Accessibility Remediation](https://www.skynettechnologies.com/all-in-one-accessibility/addons#pdf-document-remediation)**
230
+ AI-powered PDF accessibility remediation - upload PDFs, scan website PDFs, and download remediated files.
228
231
 
229
- The PDF / Document Remediation provides a list of inaccessible PDFs and remediated PDFs from where you can request PDF remediation service.
232
+ [**MS Office File Accessibility Checker**](https://www.skynettechnologies.com/file-accessibility-checker)
230
233
 
231
- ### **[VPAT Report/Accessibility Conformance Report(ACR)](https://www.skynettechnologies.com/all-in-one-accessibility/addons#vpat-acr-report)**
234
+ Microsoft Office files (Word, Excel, PowerPoint) accessible quickly and cost-effectively.
232
235
 
233
- 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.
236
+ [**Voice Search**](https://www.skynettechnologies.com/voice-enabled-search)
234
237
 
235
- ## Accessibility Widget Paid Add-ons
238
+ Let visitors search your website using their voice.
236
239
 
237
- ### **[White Label Accessibility](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)**
240
+ [**White Label Accessibility**](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)
238
241
 
239
- 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.
242
+ Remove the Skynet Technologies logo and all footer links, popups, the "report a problem" link, and more for full white-label control.
240
243
 
241
- ### **[Live Site Translations](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)**
244
+ [**Instant Live Site Translations**](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)
242
245
 
243
- 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.
246
+ Translate your website into 160+ languages instantly to enhance accessibility for non-native speakers, individuals with language acquisition difficulties, and those with learning disabilities.
244
247
 
245
- ### **[Modify Accessibility Menu](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)**
248
+ [**Modify Accessibility Menu**](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)
246
249
 
247
- 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.
250
+ Reorder, remove, and restructure menu buttons to fit users' specific accessibility needs.
248
251
 
249
- ## Accessibility Partnership Opportunities
252
+ ## Partnership Opportunities
250
253
 
251
- ### **[Accessibility Agencies Partnership](https://www.skynettechnologies.com/agency-partners)**
254
+ [**Agency Accessibility Partnership**](https://www.skynettechnologies.com/agency-partners)
252
255
 
253
- 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.
256
+ 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.
254
257
 
255
- ### **[Accessibility Affiliated Partnership](https://www.skynettechnologies.com/affiliate-partner)**
258
+ [**Affiliate Partnership**](https://www.skynettechnologies.com/affiliate-partner)
256
259
 
257
- 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.
260
+ Earn commissions by promoting our accessibility solutions and help businesses improve their website accessibility.
258
261
 
259
- For more details, Please visit **[Accessibility Partnership Opportunities Page](https://www.skynettechnologies.com/partner-program)**
262
+ For more details, explore [**accessibility partnership opportunities**](https://www.skynettechnologies.com/partner-program).
260
263
 
261
264
  ## Screenshots
262
265
 
@@ -268,18 +271,20 @@ For more details, Please visit **[Accessibility Partnership Opportunities Page](
268
271
 
269
272
  ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-4-free.jpg?v=3)
270
273
 
271
- ## Video
274
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-5-free.jpg?v=3)
275
+
276
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-6-free.jpg?v=3)
272
277
 
273
- [![All in One Accessibility Website Widget](https://img.youtube.com/vi/X70XtvGyvSs/0.jpg)](https://www.youtube.com/watch?v=X70XtvGyvSs)
278
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-7-free.jpg?v=3)
274
279
 
275
280
  ## Credits
276
281
 
277
- This addon is developed and maintained by **[Skynet Technologies USA LLC](https://www.skynettechnologies.com)**
282
+ This plugin is developed and maintained by [website accessibility remediation company](https://www.skynettechnologies.com/) – Skynet Technologies USA LLC.
278
283
 
279
284
  ## Current Maintainers
280
285
 
281
- - **[Skynet Technologies USA LLC](https://github.com/skynettechnologies)**
286
+ - [**Skynet Technologies USA LLC**](https://github.com/skynettechnologies)
282
287
 
283
- ## License
288
+ ---
284
289
 
285
- [MIT](LICENSE) © Skynet Technologies USA LLC
290
+ _README Version: 26.10.27_
package/app/config.js ADDED
@@ -0,0 +1,134 @@
1
+ /**
2
+ * ---------------------------------------------------------------------------
3
+ * All in One Accessibility - configuration
4
+ * ---------------------------------------------------------------------------
5
+ * Every fixed value the plugin needs lives here, so the API service
6
+ * (app/skynet-widget.js), the settings page (views/), the JavaScript in the
7
+ * browser (through the boot data printed in views/layout.ejs) and the widget
8
+ * script tag (index.js -> views/scriptTag.html) all read the same values.
9
+ * The names match the other language versions (AIOA_*).
10
+ */
11
+
12
+ import path from 'node:path';
13
+ import { fileURLToPath } from 'node:url';
14
+
15
+ // Absolute path of the plugin folder (the one that holds index.js)
16
+ export const AIOA_ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
17
+
18
+ /* ---------- Skynet Technologies API ---------- */
19
+
20
+ // Base URL of the API that stores widget registrations and settings
21
+ export const AIOA_API_BASE = 'https://ada.skynettechnologies.us/api/';
22
+
23
+ // Platform sent to the API when a free widget is registered
24
+ export const AIOA_PLATFORM = 'ApostropheCMS';
25
+
26
+ // User-Agent for the server's API calls: the API firewall rejects requests
27
+ // without one (HTTP 406). No platform name in it.
28
+ export const AIOA_USER_AGENT = 'AIOA-Settings/1.0';
29
+
30
+ // Settings endpoint the widget itself reads. Unlike widget-settings above, it returns
31
+ // the widget position for mobile, so a paid plan's mobile fields are read from here.
32
+ export const AIOA_WIDGET_SETTINGS_API = 'https://freeada.skynettechnologies.com/api/widget-settings';
33
+
34
+ // Plan details of a website (paid plans). Its "manage_domain" is the dashboard sign-in
35
+ // link opened by the "Dashboard" button. POST "domain" (plain, not base64).
36
+ export const AIOA_CHECK_WEBSITE_API = 'https://ada.skynettechnologies.us/check-website';
37
+
38
+ // EU check: the browser calls it once, only before a new website is registered. Its "in_eu"
39
+ // sets no_required_eu for add-user-domain: in_eu true -> 0 (EU), otherwise 1 (not EU).
40
+ export const AIOA_GEO_API = 'https://ipapi.co/json';
41
+
42
+ // "Upgrade to Paid Plan" destination
43
+ export const AIOA_UPGRADE_URL = 'https://ada.skynettechnologies.us/trial-subscription';
44
+
45
+ // Seconds before a Skynet API call gives up
46
+ export const AIOA_HTTP_TIMEOUT = 30;
47
+
48
+ /* ---------- Widget script (added to every page of the website) ---------- */
49
+
50
+ // Global and EU widget scripts. The EU script is used when the website was registered by an
51
+ // admin in the EU (no_required_eu = 0 in widget-settings), or when the module option region is "eu".
52
+ export const AIOA_WIDGET_SCRIPT = 'https://www.skynettechnologies.com/accessibility/js/all-in-one-accessibility-js-widget-minify.js';
53
+ export const AIOA_WIDGET_SCRIPT_EU = 'https://eu.skynettechnologies.com/accessibility/js/all-in-one-accessibility-js-widget-minify.js';
54
+
55
+ // Query string of the widget script. The widget loads the saved settings of the website itself;
56
+ // these are only the defaults it starts with.
57
+ export const AIOA_WIDGET_QUERY = '?colorcode=#420083&token=&position=bottom_right';
58
+
59
+ // id of the widget <script> element
60
+ export const AIOA_WIDGET_SCRIPT_ID = 'aioa-adawidget';
61
+
62
+ /* ---------- SkynetAccessibility Scanner API (Accessibility Score tab) ---------- */
63
+
64
+ // Scan results of a domain. No trailing slash: ".../details/" answers with a 301 redirect.
65
+ export const AIOA_SCAN_API = 'https://skynetaccessibilityscan.com/api/ada-scanner/domain/details';
66
+
67
+ // Language of the scan texts
68
+ export const AIOA_SCAN_LANG = 'en';
69
+
70
+ // Score label by minimum score (checked from the top). The scanner's sample
71
+ // report shows 81% as "Semi Compliant" and 98% as "Compliant".
72
+ export const AIOA_SCORE_LEVELS = [
73
+ [85, 'compliant', 'Compliant'],
74
+ [50, 'semi', 'Semi Compliant'],
75
+ [0, 'not', 'Not Compliant'],
76
+ ];
77
+
78
+ /* ---------- Widget options ---------- */
79
+
80
+ // Folder that holds the widget icons (aioa-icon-type-1.svg ... aioa-icon-type-29.svg),
81
+ // relative to the page. The files are bundled in assets/images/icons.
82
+ export const AIOA_ICON_BASE = 'assets/images/icons/';
83
+
84
+ // Number of icon types offered in the "Icon type" section
85
+ export const AIOA_ICON_TYPE_COUNT = 29;
86
+
87
+ // Default widget color (hex without "#")
88
+ export const AIOA_DEFAULT_COLOR = '420083';
89
+
90
+ // Widget positions laid out as a 3 x 3 grid.
91
+ // [value sent to the API, label, horizontal 0 / .5 / 1, vertical 0 / .5 / 1]
92
+ // null is the center cell that shows the "Your website" preview.
93
+ // Middle values are "middle_left" / "middle_right", as the widget and Skynet's own plugins use.
94
+ // Older saves may hold "middel_left" / "middel_right"; they load as the same cell (AIOA.util.positionValue).
95
+ // Used by Appearance Design (desktop) and Paid Features (widget position for mobile).
96
+ export const AIOA_POSITIONS = [
97
+ ['top_left', 'Top left', 0, 0],
98
+ ['top_center', 'Top center', 0.5, 0],
99
+ ['top_right', 'Top right', 1, 0],
100
+ ['middle_left', 'Middle left', 0, 0.5],
101
+ null,
102
+ ['middle_right', 'Middle right', 1, 0.5],
103
+ ['bottom_left', 'Bottom left', 0, 1],
104
+ ['bottom_center', 'Bottom center', 0.5, 1],
105
+ ['bottom_right', 'Bottom right', 1, 1],
106
+ ];
107
+
108
+ // Icon sizes for desktop: [value sent to the API, label, preview circle diameter in px]
109
+ // The preview circles shrink from Big to Extra small, like the real icon.
110
+ export const AIOA_ICON_SIZES = [
111
+ ['aioa-big-icon', 'Big', 84],
112
+ ['aioa-medium-icon', 'Medium', 74],
113
+ ['aioa-default-icon', 'Default', 64],
114
+ ['aioa-small-icon', 'Small', 54],
115
+ ['aioa-extra-small-icon', 'Extra small', 44],
116
+ ];
117
+
118
+ // Quick color presets shown under the color picker: [hex, name]
119
+ // (a list, not an object: object keys such as "420083" would be reordered)
120
+ export const AIOA_PRESET_COLORS = [
121
+ ['420083', 'Purple (default)'],
122
+ ['1D4ED8', 'Blue'],
123
+ ['0E7490', 'Teal'],
124
+ ['15803D', 'Green'],
125
+ ['B91C1C', 'Red'],
126
+ ['C2410C', 'Orange'],
127
+ ['BE185D', 'Pink'],
128
+ ['111827', 'Charcoal'],
129
+ ];
130
+
131
+ /* ---------- Artwork ---------- */
132
+
133
+ // Accessibility figure used by the header logo and the upgrade banner (SVG path, 69 x 69 view box)
134
+ export const AIOA_LOGO_PATH = 'M34.38,0A34.394,34.394,0,1,1,10.072,10.073,34.394,34.394,0,0,1,34.38,0Zm-.218,41.511-5,13.839a2.752,2.752,0,0,1-1.443,1.583A2.8,2.8,0,0,1,24,55.59a2.832,2.832,0,0,1-.1-2.149l3.491-9.667a14.235,14.235,0,0,0,.654-2.239,23.446,23.446,0,0,0,.3-2.361c.134-1.416.229-2.949.3-4.421s.125-2.9.163-4.08c.05-1.472-.346-1.567-1.527-1.846l-.25-.056-10.073-1.9a2.8,2.8,0,1,1,1.018-5.484L28.8,23.421c.431.039.85.09,1.293.14a32.187,32.187,0,0,0,4.017.3,45.275,45.275,0,0,0,5-.353c.5-.056.979-.118,1.455-.163l10.212-1.914a2.764,2.764,0,0,1,2.848,4.281v.034a2.8,2.8,0,0,1-1.8,1.169l-9.782,1.836c-.325.073-.615.125-.875.163-1.018.174-1.522.263-1.461,1.712.045,1.058.174,2.323.341,3.643.2,1.55.453,3.2.722,4.7a22.945,22.945,0,0,0,.559,2.546c.224.76.441,1.538.778,2.474l3.409,9.457a2.8,2.8,0,1,1-5.253,1.909l-5.02-13.814-.559-1.024-.559,1Zm.218-29.949a4.942,4.942,0,1,1-3.487,1.446,4.942,4.942,0,0,1,3.487-1.446ZM54.722,14.04a28.774,28.774,0,1,0,8.393,20.341A28.774,28.774,0,0,0,54.722,14.04Z';