itk-dev/web-accessibility-statement-bundle

Web accessibility statement bundle

1.0.2 2020-09-23 09:01 UTC

This package is auto-updated.

Last update: 2022-04-23 12:42:54 UTC


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