itk-dev / web-accessibility-statement-bundle
Web accessibility statement bundle
Installs: 640
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- symfony/framework-bundle: ^3.2 || ^4.0 || ^5.0 || ^6.0
README
Adds a route, /was
, for redirecting to the web accessibility statement for a
Symfony site.
Installation
composer require itk-dev/web-accessibility-statement-bundle
If not done automatically, add ItkDevWebAccessibilityStatementBundle
to your
bundles:
# bundles.php return [ …, ItkDev\WebAccessibilityStatementBundle\ItkDevWebAccessibilityStatementBundle::class => ['all' => true], ];
Include the route:
# config/routes.yaml was_bundle: resource: '@ItkDevWebAccessibilityStatementBundle/Resources/config/routing.php'
Define the url to your web accessibility statement in .env.local
:
WEB_ACCESSIBILITY_STATEMENT_URL=https://example.com/was