<?php
define('ABEMS_ACCESS', true);
require_once __DIR__ . '/config/config.php';

$page_title       = 'Accessibility Statement · A Believers EMS Houston';
$page_description = 'A Believers EMS LLC is committed to digital accessibility. WCAG 2.2 AA conformance, ongoing testing, and an open feedback channel.';
$page_breadcrumb  = [['Home', 'index.php'], ['Accessibility', null]];

layout('head', compact('page_title', 'page_description', 'page_breadcrumb'));
layout('header');
?>
<main id="main">
    <header class="page-header">
        <div class="container">
            <nav class="breadcrumb" aria-label="Breadcrumb">
                <a href="<?= e(SITE_URL) ?>/">Home</a>
                <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 18l6-6-6-6"/></svg>
                <span>Accessibility</span>
            </nav>
            <h1 class="js-reveal">Accessibility <em class="display">Statement</em></h1>
            <p class="js-reveal-fade">Our commitment to a website that works for everyone.</p>
        </div>
    </header>

    <section class="section">
        <div class="container container-md">
            <p style="color:var(--fg-muted);font-size:var(--fs-sm);">Last reviewed: <?= date('F Y') ?></p>

            <h2>Quick answer</h2>
            <div class="answer-block">
                This website is designed to conform to WCAG 2.2 Level AA. We audit it on every release, support keyboard-only navigation, respect prefers-reduced-motion, and maintain a 4.5:1 minimum text contrast in both light and dark themes. If you encounter a barrier, please tell us.
            </div>

            <h2>Standards</h2>
            <p>We target the Web Content Accessibility Guidelines (WCAG) 2.2 Level AA. This includes the nine new 2.2 criteria: focus appearance, focus not obscured, dragging alternatives, target size (minimum 24x24, with primary controls 44x44), accessible authentication, consistent help, and redundant entry avoidance.</p>

            <h2>Features</h2>
            <p>The site supports keyboard navigation through every interactive element, with a visible focus indicator. We respect <code>prefers-reduced-motion</code> and <code>prefers-color-scheme</code> system settings. Animations can be paused by enabling reduced motion in your operating system. All images include descriptive alt text. Forms use proper labels and announce errors clearly.</p>

            <h2>Known limitations</h2>
            <p>The embedded Google Maps frame on the contact page is provided by Google and inherits its accessibility characteristics. If you cannot use the map, our address is 13940 Bammel North Houston Rd, Houston, TX 77066 and we are happy to give directions by phone.</p>

            <h2>Feedback</h2>
            <p>If you experience any accessibility barrier on this site, please contact us at <a href="mailto:<?= e(CONTACT_EMAIL) ?>"><?= e(CONTACT_EMAIL) ?></a> or call <a href="tel:<?= e(CONTACT_PHONE_RAW) ?>"><?= e(CONTACT_PHONE) ?></a>. We respond within five business days and will work with you to access the information you need.</p>

            <h2>Ongoing work</h2>
            <p>Accessibility is an ongoing commitment, not a one-time project. We test with axe-core in our build pipeline, perform manual keyboard and screen-reader checks at each release, and review user feedback monthly.</p>
        </div>
    </section>
    <?php module('sections/final-cta.php'); ?>
</main>
<?php
layout('footer');
layout('scripts');
