Skip to content

Commit 2f647a2

Browse files
DinetsVnirbhayelrami-elementorbainternet
authored
Release/v4.0.1 (#498)
* [APP-0000] fix tab index * fix: php error in legacy module [APP-2370] (#495) * fix: php error in legacy module * Fix fatal error * Fix fatal error --------- Co-authored-by: Rami Yushuvaev <[email protected]> * Fix: Ally action link toggle [APP-2326] (#497) * [APP-0000] add change log items * readme.txt and README.MD * Update readme.txt Co-authored-by: Rami Yushuvaev <[email protected]> --------- Co-authored-by: Nirbhay Singh <[email protected]> Co-authored-by: Rami Yushuvaev <[email protected]> Co-authored-by: Raz Ohad <[email protected]> Co-authored-by: Rami Yushuvaev <[email protected]>
1 parent ba08685 commit 2f647a2

File tree

10 files changed

+60
-31
lines changed

10 files changed

+60
-31
lines changed

README.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
**Requires at least:** 6.6 \
66
**Tested up to:** 6.9 \
77
**Requires PHP:** 7.4 \
8-
**Stable tag:** 4.0.0 \
8+
**Stable tag:** 4.0.1 \
99
**License:** GPLv2 or later
1010

1111
Ally: Make your site more inclusive by scanning for accessibility violations, fixing them easily, and adding a usability widget and accessibility statement.
@@ -46,7 +46,7 @@ Ensuring that your website complies with all applicable accessibility requiremen
4646
* Scan any URL on demand to detect accessibility gaps
4747
* Launch directly from WordPress or Elementor
4848
* Step-by-step guidance to fix issues
49-
* AI-powered remediation suggestions
49+
* AI-powered remediation suggestions
5050
* Progress tracking via a visual dashboard
5151
* No accessibility expertise required
5252

@@ -68,12 +68,12 @@ Ally Assistant helps you:
6868

6969
* Auto-generate a complete accessibility statement
7070
* Customize and publish to a dedicated page
71-
* Link it using the widget
71+
* Link it using the widget
7272

7373
### Usability Widget
7474

7575
* Offer visitors a customizable menu with features like:
76-
* Contrast Modes (high, dark, light, negative)
76+
* Contrast Modes (high, dark, light, negative)
7777
* Font resizing & readable font toggle
7878
* Pause animations & hide images
7979
* Line height & text alignment options
@@ -177,7 +177,7 @@ Yes, it automatically adjusts to your site’s language settings.
177177

178178
### What is the Accessibility Assistant?
179179

180-
The Accessibility Assistant is a tool that scans individual URLs for accessibility violations, organizes them into categories, and guides you to fix them manually or with AI suggestions
180+
The Accessibility Assistant is a tool that scans individual URLs for accessibility violations, organizes them into categories, and guides you to fix them manually or with AI suggestions
181181

182182

183183
### Can I scan the same URL more than once?
@@ -227,6 +227,11 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro
227227

228228
## Changelog
229229

230+
### 4.0.1 – 2026-01-20
231+
232+
* Fix: Fix ally widget action to toggle open/close state.
233+
* Fix: Fix PHP error in legacy module
234+
230235
### 4.0.0 – 2026-01-20
231236

232237
* Tweak: Moved the plugin entry point under a unified Elementor menu
@@ -278,7 +283,7 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro
278283
* New: Smart color contrast remediation flow in the accessibility assistant
279284
* Tweak: Updated scan dashboard to show open issues and issue breakdown by category
280285
* Tweak: Tooltip on analytics tab encouraging tracking activation
281-
* Tweak: Improve accessibility column in WP admin for better user experience
286+
* Tweak: Improve accessibility column in WP admin for better user experience
282287
* Fix: Added WPML compatibility
283288
* Fix: WooCommerce AJAX conflict
284289

@@ -292,15 +297,15 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro
292297
* Tweak: Admin panel UI updates
293298
* Tweak: Assistant UI updates
294299
* Tweak: Ensure case sensitive attributes in remediations
295-
* Fix: Assistant accessibility issues
300+
* Fix: Assistant accessibility issues
296301
* Fix: Custom Icon issue in edge cases
297302
* Fix: Critical Error on plugin conflict
298303

299304
### 3.5.0 - 2025-07-08
300305

301306
* New: Introducing URL Scanner – find 180+ issues instantly (WCAG 2.1 AA)
302-
* New: Introducing Remediation Engine – get in-context guided, AI-powered accessibility fixes
303-
* New: Introducing Overview Dashboard – track scans and accessibility progress in real-time
307+
* New: Introducing Remediation Engine – get in-context guided, AI-powered accessibility fixes
308+
* New: Introducing Overview Dashboard – track scans and accessibility progress in real-time
304309
* New: Introducing Auto-Fix – fix common issues with one click: alt text, forms, keyboard nav, and tables
305310
* Tweak: New admin UI design
306311

@@ -309,7 +314,7 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro
309314
* New: Added widget languages selector
310315
* Tweak: Load widget's font locally for better compliance
311316
* Fix: Estonian language translation
312-
* Fix: Admin UI unused frame
317+
* Fix: Admin UI unused frame
313318

314319
### 3.3.0 - 2025-05-14
315320

modules/connect/module.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,16 @@ public function get_name() {
2929

3030
public static function is_connected(): bool {
3131
$facade = self::get_connect();
32+
if ( ! $facade ) {
33+
return false;
34+
}
35+
3236
$access_token = $facade->data()->get_access_token();
3337

3438
return ! ! $access_token && $facade->utils()->is_valid_home_url();
3539
}
3640

37-
public static function get_connect(): Facade {
41+
public static function get_connect(): ?Facade {
3842
return Facade::get( Config::PLUGIN_SLUG );
3943
}
4044

modules/legacy/module.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,10 @@ public static function get_settings() {
6060
}
6161

6262
public static function is_active(): bool {
63+
$connect = new Connect();
64+
6365
if (
64-
( Upgrade::has_legacy_data() && ! Upgrade::is_upgraded() && ! Connect::is_connected() )
66+
( Upgrade::has_legacy_data() && ! Upgrade::is_upgraded() && ! $connect::is_connected() )
6567
|| Upgrade::is_reverted()
6668
) {
6769
return true;

modules/remediation/module.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use EA11y\Modules\Remediation\Database\Global_Remediation_Relationship_Table;
88
use EA11y\Modules\Remediation\Database\Page_Table;
99
use EA11y\Modules\Remediation\Database\Remediation_Table;
10+
use EA11y\Modules\Legacy\Module as LegacyModule;
1011

1112
if ( ! defined( 'ABSPATH' ) ) {
1213
exit; // Exit if accessed directly.
@@ -19,6 +20,11 @@ public function get_name(): string {
1920
}
2021

2122
public static function is_active(): bool {
23+
24+
if ( LegacyModule::is_active() ) {
25+
return false;
26+
}
27+
2228
return Connect::is_connected();
2329
}
2430

modules/scanner/module.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
use EA11y\Modules\Scanner\Database\Scans_Table;
1212
use EA11y\Modules\Settings\Classes\Settings;
1313
use EA11y\Modules\Settings\Module as Settings_Module;
14+
use EA11y\Modules\Legacy\Module as LegacyModule;
1415

1516
if ( ! defined( 'ABSPATH' ) ) {
1617
exit; // Exit if accessed directly.
@@ -128,6 +129,11 @@ public function enqueue_admin_styles() : void {
128129
}
129130

130131
public static function is_active(): bool {
132+
133+
if ( LegacyModule::is_active() ) {
134+
return false;
135+
}
136+
131137
return (
132138
self::has_required_permissions() &&
133139
self::is_connected_and_enabled()

modules/widget/module.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,10 @@ public function render_dynamic_tag_handler() {
224224
}
225225

226226
elementorFrontend.utils.urlActions.addAction( 'allyWidget:open', () => {
227-
if ( window?.ea11yWidget?.widget?.open ) {
228-
window.ea11yWidget.widget.open();
227+
if (window?.ea11yWidget?.widget?.open) {
228+
return window.ea11yWidget.widget.isOpen()
229+
? window.ea11yWidget.widget.close()
230+
: window.ea11yWidget.widget.open();
229231
}
230232
} );
231233
};

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"slug": "pojo-accessibility",
44
"homepage": "http://pojo.me/",
55
"description": "",
6-
"version": "4.0.0",
6+
"version": "4.0.1",
77
"scripts": {
88
"build": "NODE_ENV=production wp-scripts build",
99
"start": "NODE_ENV=development wp-scripts start",

pojo-accessibility.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Description: Improve your website’s accessibility with ease. Customize capabilities such as text resizing, contrast modes, link highlights, and easily generate an accessibility statement to demonstrate your commitment to inclusivity.
66
* Author: Elementor.com
77
* Author URI: https://elementor.com/
8-
* Version: 4.0.0
8+
* Version: 4.0.1
99
* Text Domain: pojo-accessibility
1010
* Domain Path: /languages/
1111
*/
@@ -15,7 +15,7 @@
1515

1616
// Legacy
1717
define( 'POJO_A11Y_CUSTOMIZER_OPTIONS', 'pojo_a11y_customizer_options' );
18-
define( 'EA11Y_VERSION', '4.0.0' );
18+
define( 'EA11Y_VERSION', '4.0.1' );
1919
define( 'EA11Y_MAIN_FILE', __FILE__ );
2020
define( 'EA11Y_BASE', plugin_basename( EA11Y_MAIN_FILE ) );
2121
define( 'EA11Y_PATH', plugin_dir_path( __FILE__ ) );

readme.txt

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: Web Accessibility, Accessibility, A11Y, WCAG, Accessibility Statement
44
Requires at least: 6.6
55
Tested up to: 6.9
66
Requires PHP: 7.4
7-
Stable tag: 4.0.0
7+
Stable tag: 4.0.1
88
License: GPLv2 or later
99

1010
Ally: Make your site more inclusive by scanning for accessibility violations, fixing them easily, and adding a usability widget and accessibility statement.
@@ -44,7 +44,7 @@ Ensuring that your website complies with all applicable accessibility requiremen
4444
* Scan any URL on demand to detect accessibility gaps
4545
* Launch directly from WordPress or Elementor
4646
* Step-by-step guidance to fix issues
47-
* AI-powered remediation suggestions
47+
* AI-powered remediation suggestions
4848
* Progress tracking via a visual dashboard
4949
* No accessibility expertise required
5050

@@ -65,11 +65,11 @@ Ally Assistant helps you:
6565
= Accessibility Statement Generator =
6666
* Auto-generate a complete accessibility statement
6767
* Customize and publish to a dedicated page
68-
* Link it using the widget
68+
* Link it using the widget
6969

7070
= Usability Widget =
7171
* Offer visitors a customizable menu with features like:
72-
* Contrast Modes (high, dark, light, negative)
72+
* Contrast Modes (high, dark, light, negative)
7373
* Font resizing & readable font toggle
7474
* Pause animations & hide images
7575
* Line height & text alignment options
@@ -88,7 +88,7 @@ Premium widget features are also available within paid plans, including:
8888
* Usage analytics to gain actionable insights from visitor interactions
8989

9090

91-
= Widget customization options for web creators =
91+
= Widget customization options for web creators =
9292
Tailor the widget’s look and behavior with options like:
9393

9494
* Show/hide widget icon on mobile or desktop
@@ -166,14 +166,14 @@ Yes, it automatically adjusts to your site’s language settings.
166166

167167

168168
= What is the Accessibility Assistant? =
169-
The Accessibility Assistant is a tool that scans individual URLs for accessibility violations, organizes them into categories, and guides you to fix them manually or with AI suggestions
169+
The Accessibility Assistant is a tool that scans individual URLs for accessibility violations, organizes them into categories, and guides you to fix them manually or with AI suggestions
170170

171171

172172
= Can I scan the same URL more than once? =
173173
Yes. You can rescan a URL as often as needed. Results update each time based on the current version of your content.
174174

175175

176-
= What are AI fixes? =
176+
= What are AI fixes? =
177177
These are smart suggestions generated by Ally to help you resolve issues more efficiently-like automatically suggesting alternative text for images. AI fixes are available only on paid plans and use credits.
178178

179179
= How can I report security bugs? =
@@ -192,6 +192,10 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro
192192

193193
== Changelog ==
194194

195+
= 4.0.1 – 2026-01-20 =
196+
* Fix: Fix ally widget action to toggle open/close state.
197+
* Fix: PHP error in Ally legacy product
198+
195199
= 4.0.0 – 2026-01-20 =
196200
* Tweak: Moved the plugin entry point under a unified Elementor menu
197201
* Tweak: Redesigned the plugin settings interface for a unified look and feel
@@ -236,7 +240,7 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro
236240
* New: Smart color contrast remediation flow in the accessibility assistant
237241
* Tweak: Updated scan dashboard to show open issues and issue breakdown by category
238242
* Tweak: Tooltip on analytics tab encouraging tracking activation
239-
* Tweak: Improve accessibility column in WP admin for better user experience
243+
* Tweak: Improve accessibility column in WP admin for better user experience
240244
* Fix: Added WPML compatibility
241245
* Fix: WooCommerce AJAX conflict
242246

@@ -248,22 +252,22 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro
248252
* Tweak: Admin panel UI updates
249253
* Tweak: Assistant UI updates
250254
* Tweak: Ensure case sensitive attributes in remediations
251-
* Fix: Assistant accessibility issues
255+
* Fix: Assistant accessibility issues
252256
* Fix: Custom Icon issue in edge cases
253257
* Fix: Critical Error on plugin conflict
254258

255259
= 3.5.0 - 2025-07-08 =
256260
* New: Introducing URL Scanner – find 180+ issues instantly (WCAG 2.1 AA)
257-
* New: Introducing Remediation Engine – get in-context guided, AI-powered accessibility fixes
258-
* New: Introducing Overview Dashboard – track scans and accessibility progress in real-time
261+
* New: Introducing Remediation Engine – get in-context guided, AI-powered accessibility fixes
262+
* New: Introducing Overview Dashboard – track scans and accessibility progress in real-time
259263
* New: Introducing Auto-Fix – fix common issues with one click: alt text, forms, keyboard nav, and tables
260264
* Tweak: New admin UI design
261265

262266
= 3.4.0 - 2025-06-04 =
263267
* New: Added widget languages selector
264268
* Tweak: Load widget's font locally for better compliance
265269
* Fix: Estonian language translation
266-
* Fix: Admin UI unused frame
270+
* Fix: Admin UI unused frame
267271

268272
= 3.3.0 - 2025-05-14 =
269273
* New: Custom Icon support for the Ally widget

0 commit comments

Comments
 (0)