Skip to content

Commit fdf884f

Browse files
authored
Merge pull request #1788 from equalizedigital/release/1.44.1
Release v1.44.1
2 parents 599d15a + 19d53d4 commit fdf884f

241 files changed

Lines changed: 9720 additions & 3750 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy-on-release-to-dot-org.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,4 @@ jobs:
5757
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
5858
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
5959
BUILD_DIR: ./dist/${{ github.event.repository.name }}/
60+
VERSION: ${{ github.event.release.tag_name }}
Lines changed: 63 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,69 @@
11
name: Deploy to InstaWP
22
on:
3-
release:
4-
types: [published]
3+
workflow_run:
4+
workflows: ["Build Accessibility Checker Plugin with Ref Param"]
5+
types: [completed]
56
workflow_dispatch:
67
inputs:
78
plugin_zip_path:
89
description: 'Path to the plugin zip file to deploy. Must be a zip file.'
910
required: true
1011
type: string
1112

13+
permissions:
14+
contents: read
15+
1216
jobs:
1317
deploy:
1418
runs-on: ubuntu-latest
19+
if: |
20+
github.event_name == 'workflow_dispatch' ||
21+
(
22+
github.event_name == 'workflow_run' &&
23+
github.event.workflow_run.conclusion == 'success' &&
24+
github.event.workflow_run.event == 'release'
25+
)
1526
1627
steps:
1728
- name: Get release assets
1829
id: get_release_assets
19-
if: github.event_name == 'release'
30+
if: github.event_name == 'workflow_run'
2031
run: |
21-
# Get the list of assets from the release
22-
ASSETS_URL="${{ github.event.release.assets_url }}"
23-
echo "Release assets URL: $ASSETS_URL"
32+
RELEASES_URL="https://api.github.com/repos/${{ github.repository }}/releases"
33+
echo "Fetching releases from: $RELEASES_URL"
2434
25-
# Get the list of assets
26-
ASSETS=$(curl -s \
35+
RELEASE=$(curl -s \
2736
-H "Authorization: token ${{ github.token }}" \
2837
-H "Accept: application/vnd.github.v3+json" \
29-
"$ASSETS_URL")
38+
"$RELEASES_URL?per_page=5" | jq -c '[.[] | select(.draft == false)][0]')
39+
40+
if [[ -z "$RELEASE" || "$RELEASE" == "null" ]]; then
41+
echo "No published release found."
42+
exit 1
43+
fi
44+
45+
RELEASE_TAG=$(echo "$RELEASE" | jq -r '.tag_name')
46+
echo "Using release tag: $RELEASE_TAG"
3047
31-
# Find the first zip file that starts with accessibility-checker in the assets
32-
ZIP_URL=$(echo "$ASSETS" | jq -r '.[] | select(.name | test("^accessibility-checker.*\\.zip$")) | .browser_download_url' | head -n 1)
48+
# Pick the non-woocommerce zip only.
49+
ZIP_URL=$(echo "$RELEASE" | jq -r '.assets[]
50+
| select(.name | test("^accessibility-checker.*\\.zip$"))
51+
| select(.name | test("-ref-woocommerce-") | not)
52+
| .browser_download_url' | head -n 1)
3353
3454
if [[ -z "$ZIP_URL" ]]; then
35-
echo "No accessibility-checker zip file found in release assets"
55+
echo "No non-woocommerce accessibility-checker zip file found in release assets."
3656
exit 1
3757
fi
3858
39-
echo "Found accessibility-checker zip file: $ZIP_URL"
59+
echo "Found non-woocommerce accessibility-checker zip file: $ZIP_URL"
4060
echo "zip_url=$ZIP_URL" >> $GITHUB_OUTPUT
4161
4262
- name: Download and validate plugin zip file
4363
id: validate_zip
4464
run: |
4565
# Determine the ZIP_URL based on the trigger
46-
if [[ "${{ github.event_name }}" == "release" ]]; then
66+
if [[ "${{ github.event_name }}" == "workflow_run" ]]; then
4767
ZIP_URL="${{ steps.get_release_assets.outputs.zip_url }}"
4868
else
4969
ZIP_URL="${{ github.event.inputs.plugin_zip_path }}"
@@ -73,24 +93,41 @@ jobs:
7393
- name: Deploy to InstaWP
7494
run: |
7595
API_KEY=${{ secrets.INSTAWP_API_KEY }}
76-
SITE_ID=${{ secrets.INSTAWP_SITE_ID }}
96+
SITE_ID_MAIN=${{ secrets.INSTAWP_SITE_ID_MAIN }}
97+
SITE_ID_ARCHIVEWP=${{ secrets.INSTAWP_SITE_ID_ARCHIVEWP }}
98+
99+
if [[ -z "$API_KEY" || -z "$SITE_ID_MAIN" || -z "$SITE_ID_ARCHIVEWP" ]]; then
100+
echo "Required InstaWP secrets are missing. Set INSTAWP_API_KEY, INSTAWP_SITE_ID_MAIN, and INSTAWP_SITE_ID_ARCHIVEWP."
101+
exit 1
102+
fi
77103
78104
# Determine the PLUGIN_URL based on the trigger
79-
if [[ "${{ github.event_name }}" == "release" ]]; then
105+
if [[ "${{ github.event_name }}" == "workflow_run" ]]; then
80106
PLUGIN_URL="${{ steps.get_release_assets.outputs.zip_url }}"
81107
else
82108
PLUGIN_URL="${{ github.event.inputs.plugin_zip_path }}"
83109
fi
84110
85111
echo "Deploying plugin from: $PLUGIN_URL"
112+
for SITE_ID in "$SITE_ID_MAIN" "$SITE_ID_ARCHIVEWP"; do
113+
echo "Deploying to InstaWP site ID: $SITE_ID"
114+
HTTP_CODE=$(curl -sS -o /tmp/instawp-response.json -w "%{http_code}" \
115+
-X POST "https://app.instawp.io/api/v2/sites/$SITE_ID/execute-command" \
116+
-H "Authorization: Bearer $API_KEY" \
117+
-H "Accept: application/json" \
118+
-H "Content-Type: application/json" \
119+
-d "{
120+
\"command_id\": 2623,
121+
\"commandArguments\": [
122+
{\"PLUGIN_STRING\": \"$PLUGIN_URL\"}
123+
]
124+
}")
125+
126+
if [[ "$HTTP_CODE" -lt 200 || "$HTTP_CODE" -ge 300 ]]; then
127+
echo "InstaWP deploy failed for site $SITE_ID (HTTP $HTTP_CODE)"
128+
cat /tmp/instawp-response.json
129+
exit 1
130+
fi
86131
87-
curl -X POST "https://app.instawp.io/api/v2/sites/$SITE_ID/execute-command" \
88-
-H "Authorization: Bearer $API_KEY" \
89-
-H "Accept: application/json" \
90-
-H "Content-Type: application/json" \
91-
-d "{
92-
\"command_id\": 2623,
93-
\"commandArguments\": [
94-
{\"PLUGIN_STRING\": \"$PLUGIN_URL\"}
95-
]
96-
}"
132+
echo "InstaWP deploy succeeded for site $SITE_ID"
133+
done

accessibility-checker.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Plugin Name: Accessibility Checker
1111
* Plugin URI: https://a11ychecker.com
1212
* Description: Audit and check your website for accessibility before you hit publish. In-post accessibility scanner and guidance.
13-
* Version: 1.44.0
13+
* Version: 1.44.1
1414
* Requires PHP: 7.4
1515
* Author: Equalize Digital
1616
* Author URI: https://equalizedigital.com
@@ -36,7 +36,7 @@
3636

3737
// Current plugin version.
3838
if ( ! defined( 'EDAC_VERSION' ) ) {
39-
define( 'EDAC_VERSION', '1.44.0' );
39+
define( 'EDAC_VERSION', '1.44.1' );
4040
}
4141

4242
// Current database version.

admin/class-enqueue-admin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ public static function maybe_enqueue_issue_modal_script() {
259259
'wp-i18n',
260260
'wp-api-fetch',
261261
'wp-html-entities',
262+
'wp-a11y',
262263
],
263264
EDAC_VERSION,
264265
true

changelog.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
*** Accessibility Checker ***
22

3+
2026-06-23 - version 1.44.1
4+
* Updated - improved the dismiss panel screen reader announcements.
5+
6+
2026-06-22 - version 1.44.0
7+
* New - Added custom axe rule to detect links whose anchor text is a bare URL rather than meaningful text.
8+
* Updated - The aria-hidden rule no longer flags separator blocks.
9+
* Updated - Empty paragraph warnings no longer flag elements with aria-live attributes or implicit live region roles.
10+
* Updated - Block Editor metabox now defaults to visible for new installs.
11+
* Fix - REST API URL generation now works correctly on subsites and with custom REST base configurations.
12+
* Fix - New window warning now handles links containing both text and images.
13+
314
2026-05-28 - version 1.43.0
415
* Updated - improved empty alt warnings for images that are inside buttons with accessible names.
516
* Updated - improved empty button checks for elements hidden from screen readers and keyboard users.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation-revision-date":"YEAR-MO-DA HO:MI+ZONE","generator":"WP-CLI\/2.12.0","source":"build\/admin.bundle.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ar","plural-forms":"nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5);"},"Get Pro to unlock this feature, opens in a new window.":["\u0627\u062d\u0635\u0644 \u0639\u0644\u0649 \u0627\u0644\u0646\u0633\u062e\u0629 \u0627\u0644\u0627\u062d\u062a\u0631\u0627\u0641\u064a\u0629 \u0644\u0641\u062a\u062d \u0647\u0630\u0647 \u0627\u0644\u0645\u064a\u0632\u0629\u060c \u064a\u0641\u062a\u062d \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u062c\u062f\u064a\u062f\u0629."],"Get Pro":["\u0627\u062d\u0635\u0644 \u0639\u0644\u0649 \u0627\u0644\u0646\u0633\u062e\u0629 \u0627\u0644\u0627\u062d\u062a\u0631\u0627\u0641\u064a\u0629"],"Saving...":["\u062c\u0627\u0631\u064d \u0627\u0644\u062d\u0641\u0638..."],"Settings saved successfully. You must %svisit the editor%s and save the post to rescan and remove fixed issues from Accessibility Checker reports.":["\u062a\u0645 \u062d\u0641\u0638 \u0627\u0644\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0628\u0646\u062c\u0627\u062d. \u064a\u062c\u0628 \u0639\u0644\u064a\u0643 %s\u0632\u064a\u0627\u0631\u0629 \u0627\u0644\u0645\u062d\u0631\u0631%s \u0648\u062d\u0641\u0638 \u0627\u0644\u0645\u0646\u0634\u0648\u0631 \u0644\u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0641\u062d\u0635 \u0648\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0645\u0634\u0643\u0644\u0627\u062a \u0627\u0644\u0645\u0635\u062d\u062d\u0629 \u0645\u0646 \u062a\u0642\u0627\u0631\u064a\u0631 Accessibility Checker."],"Settings saved successfully.":["\u062a\u0645 \u062d\u0641\u0638 \u0627\u0644\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0628\u0646\u062c\u0627\u062d."],"Saving failed.":["\u0641\u0634\u0644 \u0627\u0644\u062d\u0641\u0638."],"Fix Settings":["\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0627\u0644\u0625\u0635\u0644\u0627\u062d"]}}}
1+
{"translation-revision-date":"YEAR-MO-DA HO:MI+ZONE","generator":"WP-CLI\/2.12.0","source":"build\/admin.bundle.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"ar","plural-forms":"nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5);"},"Get Pro to unlock this feature, opens in a new window.":["\u0627\u062d\u0635\u0644 \u0639\u0644\u0649 \u0627\u0644\u0646\u0633\u062e\u0629 \u0627\u0644\u0627\u062d\u062a\u0631\u0627\u0641\u064a\u0629 \u0644\u0641\u062a\u062d \u0647\u0630\u0647 \u0627\u0644\u0645\u064a\u0632\u0629\u060c \u064a\u0641\u062a\u062d \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u062c\u062f\u064a\u062f\u0629."],"Get Pro":["\u0627\u062d\u0635\u0644 \u0639\u0644\u0649 \u0627\u0644\u0646\u0633\u062e\u0629 \u0627\u0644\u0627\u062d\u062a\u0631\u0627\u0641\u064a\u0629"],"Saving...":["\u062c\u0627\u0631\u064d \u0627\u0644\u062d\u0641\u0638..."],"Saving failed: Missing REST API URL.":["\u0641\u0634\u0644 \u0627\u0644\u062d\u0641\u0638: \u0639\u0646\u0648\u0627\u0646 URL \u0627\u0644\u062e\u0627\u0635 \u0628\u0648\u0627\u062c\u0647\u0629 REST API \u0645\u0641\u0642\u0648\u062f."],"Settings saved successfully. You must %svisit the editor%s and save the post to rescan and remove fixed issues from Accessibility Checker reports.":["\u062a\u0645 \u062d\u0641\u0638 \u0627\u0644\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0628\u0646\u062c\u0627\u062d. \u064a\u062c\u0628 \u0639\u0644\u064a\u0643 %s\u0632\u064a\u0627\u0631\u0629 \u0627\u0644\u0645\u062d\u0631\u0631%s \u0648\u062d\u0641\u0638 \u0627\u0644\u0645\u0646\u0634\u0648\u0631 \u0644\u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0641\u062d\u0635 \u0648\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0645\u0634\u0643\u0644\u0627\u062a \u0627\u0644\u0645\u0635\u062d\u062d\u0629 \u0645\u0646 \u062a\u0642\u0627\u0631\u064a\u0631 Accessibility Checker."],"Settings saved successfully.":["\u062a\u0645 \u062d\u0641\u0638 \u0627\u0644\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0628\u0646\u062c\u0627\u062d."],"Saving failed.":["\u0641\u0634\u0644 \u0627\u0644\u062d\u0641\u0638."],"Fix Settings":["\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0627\u0644\u0625\u0635\u0644\u0627\u062d"]}}}

0 commit comments

Comments
 (0)