itk-dev/web-accessibility-statement-bundle

Web accessibility statement bundle

2.0.0 2025-01-17 08:49 UTC

This package is auto-updated.

Last update: 2025-01-17 09:20:01 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