itk-dev/web-accessibility-statement-bundle

Web accessibility statement bundle

1.1.0 2023-08-01 12:07 UTC

This package is auto-updated.

Last update: 2024-11-30 02:18: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