PHP code example of bpmore / statamic-a11y-report
1. Go to this page and download the library: Download bpmore/statamic-a11y-report library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
bpmore / statamic-a11y-report example snippets
'widgets' => [
'accessibility_report',
// or, on a multisite install, one site:
['type' => 'accessibility_report', 'site' => 'default'],
],
php please a11y:report from the latest complete scan
php please a11y:report --site=default --format=html --out=./reports