PHP code example of moinframe / kirby-accessibility-check
1. Go to this page and download the library: Download moinframe/kirby-accessibility-check 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/ */
moinframe / kirby-accessibility-check example snippets
return [
// Enable/disable the plugin entirely
'moinframe.accessibility-check.enabled' => true, // default: true
// Which providers to render when the check is enabled.
// Available: 'sa11y', 'editoria11y'
'moinframe.accessibility-check.providers' => ['sa11y'], // default: ['sa11y']
// Which Sa11y release to load ('latest' or a pinned version like '5.0.8')
'moinframe.accessibility-check.sa11y.version' => 'latest', // default: 'latest'
// Load Sa11y from the jsDelivr CDN. Set to false to self-host.
'moinframe.accessibility-check.sa11y.cdn' => true, // default: true
// When `cdn` is false, point this at your copy of Sa11y's `dist`
// folder (no trailing slash). Required for self-hosting.
'moinframe.accessibility-check.sa11y.assets' => '/assets/sa11y', // default: null
'moinframe.accessibility-check.editoria11y.version' => 'latest', // default: 'latest'
'moinframe.accessibility-check.editoria11y.cdn' => true, // default: true
'moinframe.accessibility-check.editoria11y.assets' => '/assets/editoria11y', // default: null
];
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.