apostrophecms-plugin-all-in-one-accessibility 1.0.6 → 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 +195 -163
  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,258 +1,290 @@
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 AI Free Accessibility Widget**, you can instantly boost your site's inclusivity and support over **140+ languages**! Experience the power of **23 essential features** in our free version and take the first step towards creating a better web for everyone.
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
- ### **United States**
18
- - **ADA (Americans with Disabilities Act)**
19
- - **ADA Title III Website Accessibility**
20
- - **Section 508 (U.S. Government Standard)**
21
- - **California Unruh Civil Rights Act**
22
- - **Texas Website Accessibility Compliance**
23
- - **Florida Website Compliance**
24
- - **Colorado Accessibility Law**
25
- - **Kentucky Web Accessibility**
26
- - **New York State Web Accessibility Policy**
27
- - **Arizona ADA Compliance**
28
- - **Connecticut ADA Web Accessibility**
29
- - **Indiana Digital Accessibility**
30
- - **Nevada ADA Compliance Requirements**
31
- - **Georgia Website ADA Compliance**
32
- - **Ohio ADA Compliance**
33
- - **Michigan ADA Compliance**
34
- - **Virginia Web Accessibility Legislation**
35
- - **Kansas ADA Compliance**
36
- - **Washington State ADA Compliance**
27
+ Explore the [**free accessibility widget features guide**](https://www.skynettechnologies.com/sites/default/files/Free-Accessibility-Widget-Features-Guide.pdf).
37
28
 
38
- ### **Canada**
39
- - **AODA (Accessibility for Ontarians with Disabilities Act)**
40
- - **ACA (Accessible Canada Act)**
29
+ ## Who Is the Free Widget For?
41
30
 
42
- ### **United Kingdom**
43
- - **UK Equality Act (EA)**
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.
44
32
 
45
- ### **European Union**
46
- - **EAA / EN 301 549 Accessibility**
47
- - **EN 301 549 v4.1.1**
33
+ ## Why Choose This Free Widget?
48
34
 
49
- ### **France**
50
- - **RGAA (Référentiel Général d’Amélioration de l’Accessibilité)**
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.
51
40
 
52
- ### **Germany**
53
- - **BITV (Barrierefreie-Informationstechnik-Verordnung)**
41
+ ## Free vs Paid
54
42
 
55
- ### **Italy**
56
- - **Italian Stanca Act**
43
+ See the full [free widget vs paid app comparison](https://www.skynettechnologies.com/installation-guide/free-vs-paid-accessibility-widget-comparison-video).
57
44
 
58
- ### **Spain**
59
- - **UNE 139803:2012**
45
+ ## Security and Privacy
60
46
 
61
- ### **Austria**
62
- - **WZG (Austrian Web Accessibility Act)**
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.
63
51
 
64
- ### **Switzerland**
65
- - **Swiss Disability Discrimination Act (DDA)**
52
+ ## Limitations
66
53
 
67
- ### **Sweden**
68
- - **Swedish Discrimination Act (2008:567)**
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.
69
56
 
70
- ### **Israel**
71
- - **IS 5568 (Israeli Standard)**
57
+ For more details, visit [**ApostropheCMS accessibility plugin**](https://www.skynettechnologies.com/apostrophe-cms-website-accessibility).
72
58
 
73
- ### **Australia**
74
- - **Australian DDA (Disability Discrimination Act)**
59
+ ## FAQs
75
60
 
76
- ### **India**
77
- - **RPD Act (Rights of Persons with Disabilities Act)**
78
- - **GIGW 3.0 (Guidelines for Indian Government Websites)**
61
+ **Does this free accessibility plugin support multilingual ApostropheCMS sites?**
79
62
 
80
- ### **Brazil**
81
- - **LBI 13.146/2015 (Brazilian Inclusion Law)**
63
+ Yes. It supports 190+ languages.
82
64
 
83
- ### **Mexico**
84
- - **ADA-Inspired Web Accessibility Compliance**
65
+ **Which languages do the screen reader, virtual keyboard, and other advanced features support?**
85
66
 
86
- ### **Japan**
87
- - **JIS X 8341**
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).
88
68
 
89
- ### **South Korea**
90
- - **KWCAG 2.1 (Korean Web Content Accessibility Guidelines)**
69
+ **How can I upgrade from the free widget to the paid app?**
91
70
 
92
- ### **Singapore**
93
- - **DSS and SGDS (Design System and Digital Standards)**
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).
94
72
 
95
- ### **Malaysia**
96
- - **PWD Act 2008 (Persons with Disabilities Act)**
73
+ **What additional features are available in the paid version?**
97
74
 
98
- ### **Thailand**
99
- - **PDA 2013 (Persons with Disabilities Empowerment Act)**
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.
100
76
 
101
- ### **United Arab Emirates**
102
- - **UAE Disability Act (Federal Law No. 29 of 2006)**
77
+ **Can I try the paid app before buying?**
103
78
 
104
- For more details on supported accessibility laws and standards, visit
105
- **[All in One Accessibility Supported Standards](https://www.skynettechnologies.com/accessibility-standards)**
79
+ Yes. The paid app comes with a [10-day free trial](https://ada.skynettechnologies.us/trial-subscription) that includes all features.
106
80
 
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 **[All in One Accessibility®.](https://www.skynettechnologies.com/all-in-one-accessibility)**
81
+ **Which themes are supported?**
108
82
 
109
- ### Built for Excellence
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.
110
84
 
111
- - Adheres to **ISO 9001:2015** & **ISO 27001:2013** standards.
112
- - Fully compliant with **GDPR** and **COPPA** regulations.
113
- - Proud member of **W3C** and the **International Association of Accessibility Professionals (IAAP)**.
85
+ ## Supported Languages (190+)
114
86
 
115
- ### Upgrade to Unlock Premium Features
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, دری
116
88
 
117
- **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)**.
89
+ ## Prerequisites
118
90
 
119
- 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).**
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
120
95
 
121
- ### Start Your Accessibility Journey Today
96
+ ## Installation
122
97
 
123
- 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.
98
+ 1. Install the module in your ApostropheCMS project:
124
99
 
125
- **Your website’s accessibility journey begins here. Make an impact.**
100
+ ```bash
101
+ npm install apostrophecms-plugin-all-in-one-accessibility
102
+ ```
126
103
 
127
- For more details, visit **[All in One Accessibility®](https://www.skynettechnologies.com/all-in-one-accessibility)** and transform your digital presence.
104
+ 2. Turn it on in `app.js`:
128
105
 
129
- ### Supported Languages (140+ Languages)
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
+ ```
130
116
 
131
- 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, دری.
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.
132
118
 
133
- ## Installation
119
+ **Module options** (all optional):
120
+
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. |
134
127
 
135
- ```sh
136
- npm install apostrophecms-plugin-all-in-one-accessibility
128
+ ```js
129
+ 'apostrophecms-plugin-all-in-one-accessibility': {
130
+ options: {
131
+ domain: 'www.example.com'
132
+ }
133
+ }
137
134
  ```
138
135
 
139
- ## Setup & Usage
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.
140
137
 
141
- Add it as a plugin in `app.js`
138
+ Package name: `apostrophecms-plugin-all-in-one-accessibility`
142
139
 
143
- ```js
144
- apostrophe({
145
- modules: {
146
- 'apostrophecms-all-in-one-accessibility': {},
147
- }
148
- });
140
+ Check out our [**ApostropheCMS WCAG accessibility widget installation steps**](https://www.skynettechnologies.com/blog/apostrophe-cms-web-accessibility-widget-installation).
149
141
 
150
- ```
142
+ ## Configuration
151
143
 
152
- ## CORS Policy Configuration
144
+ Configure the widget from the ApostropheCMS admin bar.
153
145
 
154
- 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.
146
+ **Path:** Admin bar → All in One Accessibility
155
147
 
156
- | **Domain** | **Description** | **Usage** |
157
- |------------------------------------|----------------------------------------------|----------------------------------|
158
- | `https://*.skynettechnologies.com` | Skynet Technologies (Global Domain) | API access and resources |
159
- | `https://*.skynettechnologies.us` | Skynet Technologies (US Domain) | API access and resources |
160
- | `https://*.googleapis.com` | Google APIs | Services like Fonts, Translation |
161
- | `https://*.gstatic.com` | Fonts APIs | Custom Fonts |
162
- | `https://vlibras.gov.br` | VLibras - Brazilian Sign Language Service | Sign Language |
148
+ **Steps:**
163
149
 
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.
164
155
 
165
- ## Instructions
156
+ Only admins see the admin bar item and can open the settings page.
166
157
 
167
- 1. Update your server's CORS configuration to include these URLs.
168
- 2. Ensure wildcard subdomains (`*`) are supported where necessary.
169
- 3. Verify the application functionality by testing requests to these domains.
170
- 4. If issues persist, consult the documentation for CORS configuration guidance.
158
+ ## Demo
171
159
 
172
- ## Configuration
160
+ See how the widget performs with improved accessibility features:
173
161
 
174
- 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.
162
+ [![Free accessibility widget demo video](https://img.youtube.com/vi/VMHx30aUnR4/0.jpg)](https://www.youtube.com/watch?v=VMHx30aUnR4)
163
+
164
+ ## CORS Policy Configuration
165
+
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.
167
+
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/`) |
177
+
178
+ **Instructions**
179
+
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.
175
184
 
176
185
  ## Documentation
177
186
 
178
- - **[Apostrophe CMS All in One Accessibility](https://www.skynettechnologies.com/apostrophe-cms-website-accessibility)**
179
- - **[How to install All in One Accessibility Extension on Apostrophe CMS blog](https://www.skynettechnologies.com/blog/apostrophe-cms-web-accessibility-widget-installation)**
180
- - **[All in One Accessibility - Features Guide](https://www.skynettechnologies.com/sites/default/files/accessibility-widget-features-list.pdf)**
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)
191
+
192
+ ## Support
181
193
 
182
- ## Submit a Support Request
194
+ **Submit a Support Request**
183
195
 
184
- 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.
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.
185
197
 
186
- ## Send Us an Email
198
+ **Send Us an Email**
187
199
 
188
- Alternatively, you can send an email to our support team:
189
- **[hello@skynettechnologies.com](mailto:hello@skynettechnologies.com)**
200
+ Email our support team: [**hello@skynettechnologies.com**](mailto:hello@skynettechnologies.com)
190
201
 
191
202
  ## Accessibility Paid Add-on Services
192
203
 
193
- ### **[Manual Accessibility Audit Report](https://www.skynettechnologies.com/all-in-one-accessibility/addons#manual-accessibility-audit-report)**
204
+ [**Manual Accessibility Audit**](https://www.skynettechnologies.com/website-accessibility-audit)
205
+
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
211
+
212
+ [**Manual Accessibility Remediation**](https://www.skynettechnologies.com/full-website-accessibility-remediation)
213
+
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.
215
+
216
+ [**VPAT Report / Accessibility Conformance Report (ACR)**](https://www.skynettechnologies.com/vpat-accessibility-conformance-report)
217
+
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.
219
+
220
+ ## Accessibility Paid Add-ons
194
221
 
195
- Enhance inclusivity and user experience by evaluating your website’s accessibility by accessibility experts.
196
- WCAG 2.0 / WCAG 2.1 / WCAG 2.2 Level AA conformance testing.
197
- Automated, semi-automated testing.
198
- Manual testing.
199
- Simple before-after UI/UX recommendations on how to fix the issues.
200
- Comprehensive audit report.
222
+ A faster, cost-effective way to extend accessibility across your website and documents.
201
223
 
202
- ### **[Manual Accessibility Remediation](https://www.skynettechnologies.com/all-in-one-accessibility/addons#manual-accessibility-remediation)**
203
- 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.
224
+ [**SkynetAccessibility Scanner**](https://www.skynettechnologies.com/accessibility-scanning-and-monitoring)
204
225
 
205
- ### **[PDF/Document Accessibility Remediation](https://www.skynettechnologies.com/all-in-one-accessibility/addons#pdf-document-remediation)**
206
- The PDF / Document Remediation provides a list of inaccessible PDFs and remediated PDFs from where you can request PDF remediation service.
207
-
208
- ### **[VPAT Report/Accessibility Conformance Report(ACR)](https://www.skynettechnologies.com/all-in-one-accessibility/addons#vpat-acr-report)**
209
- 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.
226
+ Automatically scan and monitor your website for WCAG and ADA issues, and track compliance progress quickly.
210
227
 
211
- ## Accessibility Widget Paid Add-ons
228
+ [**SkynetA11y PDF Remediation**](https://www.skynettechnologies.com/pdf-accessibility-remediation)
212
229
 
213
- ### **[White Label](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)**
214
- 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.
230
+ AI-powered PDF accessibility remediation - upload PDFs, scan website PDFs, and download remediated files.
215
231
 
216
- ### **[Live Site Translations](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)**
217
- 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.
232
+ [**MS Office File Accessibility Checker**](https://www.skynettechnologies.com/file-accessibility-checker)
218
233
 
219
- ### **[Modify Accessibility Menu](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)**
220
- 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.
234
+ Microsoft Office files (Word, Excel, PowerPoint) accessible quickly and cost-effectively.
221
235
 
222
- ## Accessibility Partnership Opportunities
236
+ [**Voice Search**](https://www.skynettechnologies.com/voice-enabled-search)
223
237
 
224
- ### **[Agencies Partnership](https://www.skynettechnologies.com/agency-partners)**
238
+ Let visitors search your website using their voice.
225
239
 
226
- 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.
240
+ [**White Label Accessibility**](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)
227
241
 
228
- ### **[Affiliated Partnership](https://www.skynettechnologies.com/affiliate-partner)**
242
+ Remove the Skynet Technologies logo and all footer links, popups, the "report a problem" link, and more for full white-label control.
229
243
 
230
- 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.
244
+ [**Instant Live Site Translations**](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)
231
245
 
232
- For more details, Please visit **[Partnership Opportunities Page](https://www.skynettechnologies.com/partner-program)**
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.
247
+
248
+ [**Modify Accessibility Menu**](https://www.skynettechnologies.com/all-in-one-accessibility/addons#accessibility-widget-add-ons)
249
+
250
+ Reorder, remove, and restructure menu buttons to fit users' specific accessibility needs.
251
+
252
+ ## Partnership Opportunities
253
+
254
+ [**Agency Accessibility Partnership**](https://www.skynettechnologies.com/agency-partners)
255
+
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.
257
+
258
+ [**Affiliate Partnership**](https://www.skynettechnologies.com/affiliate-partner)
259
+
260
+ Earn commissions by promoting our accessibility solutions and help businesses improve their website accessibility.
261
+
262
+ For more details, explore [**accessibility partnership opportunities**](https://www.skynettechnologies.com/partner-program).
233
263
 
234
264
  ## Screenshots
235
265
 
236
- ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-1-free.jpg?v=4)
266
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-1-free.jpg?v=3)
267
+
268
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-2-free.jpg?v=3)
237
269
 
238
- ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-2-free.jpg?v=4)
270
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-3-free.jpg?v=3)
239
271
 
240
- ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-3-free.jpg?v=4)
272
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-4-free.jpg?v=3)
241
273
 
242
- ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-4-free.jpg?v=4)
274
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-5-free.jpg?v=3)
243
275
 
244
- ## Video
276
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-6-free.jpg?v=3)
245
277
 
246
- [![All in One Accessibility](https://img.youtube.com/vi/X70XtvGyvSs/0.jpg)](https://youtu.be/X70XtvGyvSs)
278
+ ![App Screenshot](https://www.skynettechnologies.com/sites/default/files/screenshot-7-free.jpg?v=3)
247
279
 
248
280
  ## Credits
249
281
 
250
- 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.
251
283
 
252
284
  ## Current Maintainers
253
285
 
254
- - **[Skynet Technologies USA LLC](https://github.com/skynettechnologies)**
286
+ - [**Skynet Technologies USA LLC**](https://github.com/skynettechnologies)
255
287
 
256
- ## License
288
+ ---
257
289
 
258
- [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';