Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .ddev/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ hooks:
- exec: bash .ddev/setup.sh
use_dns_when_possible: true
composer_version: "2"
composer_root: siteimprove-accessibility
web_environment: []
corepack_enable: false

Expand Down
1 change: 0 additions & 1 deletion .ddev/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ wp plugin activate siteimprove-accessibility
# Install land activate additional plugins for development environment
wp plugin install debug-bar
wp plugin install query-monitor
wp plugin install siteimprove

cd /var/www/html
echo "Setup completed."
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

- name: Install PHP_CodeSniffer
run: composer install --prefer-dist --no-progress --no-suggest
run: composer install --working-dir=./siteimprove-accessibility --prefer-dist --no-progress --no-suggest

- name: Check PHP Code Sniff
run: ./siteimprove-accessibility/vendor/bin/phpcs siteimprove-accessibility --standard=phpcs.xml.dist --report-summary
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

- name: Install Composer dependencies
run: composer install --no-dev --prefer-dist --no-progress --no-suggest
run: composer install --working-dir=./siteimprove-accessibility --no-dev --prefer-dist --no-progress --no-suggest

- name: Set up Node.js
uses: actions/setup-node@v4
Expand Down
11 changes: 7 additions & 4 deletions composer.json → siteimprove-accessibility/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"name": "siteimprove/siteimprove-accessibility",
"description": "WordPress plugin for accessibility improvements.",
"license": "GPL-2.0-or-later",
"type": "wordpress-plugin",
"autoload": {
"psr-4": {
"Siteimprove\\Accessibility\\": "siteimprove-accessibility/src/"
"Siteimprove\\Accessibility\\": "src/"
}
},
"require": {
Expand All @@ -13,13 +17,12 @@
"phpcsstandards/phpcsutils": "^1.0"
},
"config": {
"vendor-dir": "./siteimprove-accessibility/vendor",
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"lint": "./siteimprove-accessibility/vendor/bin/phpcs siteimprove-accessibility --standard=phpcs.xml.dist",
"lint-fix": "./siteimprove-accessibility/vendor/bin/phpcbf siteimprove-accessibility --standard=phpcs.xml.dist"
"lint": "./vendor/bin/phpcs . --standard=../phpcs.xml.dist",
"lint-fix": "./vendor/bin/phpcbf . --standard=../phpcs.xml.dist"
}
}
30 changes: 17 additions & 13 deletions composer.lock → siteimprove-accessibility/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 12 additions & 5 deletions siteimprove-accessibility/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,19 @@ Accessibility checks are local and data is stored locally in your own WordPress

= What third-party/external services this plugin use? =

The plugin uses SiteimproveAccessibilityCmsComponents library, loaded via CDN. It provides reusable React-based UI components for displaying issue details, issue lists, reports and more.
These components are designed to be integrated across different CMS platforms, including WordPress, to ensure consistency and reduce the need for custom UI development.
This plugin uses the following third-party/external services:

This plugin uses Pendo, to collect anonymous usage data such as which features of the plugin you are interacting with, but only with your explicit consent (e.g. when usage tracking is enabled in the plugin settings page).
This data helps us improve the plugin by understanding how users interact with its features. No personal or sensitive information is ever collected or stored.
More about Pendo: [privacy policy](https://www.pendo.io/legal/privacy-policy/).
1. **Siteimprove**
The plugin uses the [SiteimproveAccessibilityCmsComponents](https://cdn.siteimprove.net/cms/siteimprove-accessibility-cms-components-latest.js) javascript library, loaded via CDN.
It provides reusable React-based UI components for displaying issue details, issue lists, reports and more.
These components are designed to be integrated across different CMS platforms, including WordPress, to ensure consistency and reduce the need for custom UI development.

The plugin also uses Siteimprove's open source accessibility conformance testing engine called [Alfa](https://alfa.siteimprove.com/). Some of its features that requires to connect to [Siteimprove API](https://api.siteimprove.com/) are currently not used in this plugin.

3. **Pendo**
Pendo is used to collect anonymous usage data, such as which features of the plugin users are interacting with. Usage data collection is active only with the explicit consent of the administrator (e.g. when usage tracking is enabled in the plugin settings page).
This data helps us improve the plugin by understanding how users interact with its features. No personal or sensitive information is ever collected or stored.
More about Pendo: [privacy policy](https://www.pendo.io/legal/privacy-policy/).

= Where can I find the development repository for this plugin? =

Expand Down