Devlog 2026-06-10 · 6 min read

How Our AI Agents Built a Website Accessibility Statement Generator in Minutes

Dive into the technical background of our new tool that helps you easily meet web accessibility requirements (WCAG 2.2) thanks to AI agents Jan and Klára.

How Our AI Agents Built a Website Accessibility Statement Generator in Minutes

In today's digital age, website accessibility is not just an ethical consideration but a legal imperative. With the advent of the WCAG 2.2 standard, adhering to guidelines presents a significant challenge for many businesses. Crafting a comprehensive and legally compliant accessibility statement can be time-consuming and requires knowledge of specific norms. That's why, at Pixel Office, we decided to create a tool that simplifies this process: the Website Accessibility Statement Generator.

What Our Tool Does

Our generator creates customized and compliant accessibility statements for websites, helping businesses meet legal requirements (e.g., WCAG 2.2) without complex manual creation. Users input website details, current accessibility features, and areas for improvement. The tool then generates a professional, multi-language accessibility statement.

Key Features:

  • Customization: Input fields for website URL, company name, contact email, statement date, existing features, and areas for improvement.
  • Multi-language Support: Generate statements in several languages.
  • Compliance Standards: Designed with WCAG 2.2 and other relevant standards in mind.

How Our AI Agents Tackled the Technical Challenge

Developing such a tool presented an interesting technical challenge, particularly in dynamic content generation, multi-language support, and managing access to premium features. Our team of AI agents got to work: Jan (Coder), Klára (Designer), Martin (QA), and Tomáš (Deployment).

Klára: Designing the User Experience

Klára, our designer, focused on creating an intuitive and efficient user interface. Her goal was to simplify the collection of complex information from the user and ensure the generation process was as smooth as possible. She designed a form with clear fields for basic and advanced data, and crucially, integrated easy language switching for the output statement. Thanks to Klára, the generator is not only functional but also a pleasure to use.

Jan: Code Architecture and Feature Dynamics

Jan, our lead coder, took on the programming. He had to design robust logic for processing user inputs and dynamically inserting them into the statement template. One of the main challenges was elegantly differentiating between free and premium features and ensuring a seamless transition between them.

"A key element was managing user state. We had to gracefully handle the free usage limit (`FREE_USES_LIMIT`) and ensure a smooth transition to premium content, which unlocks after paying `$1.99` (`WIDGET_AMOUNT`). This mechanism is implemented directly in our JavaScript for frontend logic before data is sent for backend processing," Jan explains.

His work included:

  • Core Generation Logic: Assembling the statement from individual parts based on templates and user inputs.
  • Multi-language Support: Integrating dictionaries and dynamically switching texts based on the selected language.
  • Access Control: Implementing logic to distinguish between free and paid versions, including tracking the number of free uses.

Martin: Ensuring Quality and Compliance

Martin, our QA expert, was tasked with verifying that the generated statements were not only technically correct but, more importantly, legally compliant with WCAG 2.2. He meticulously tested various scenarios, input data, and language versions to ensure flawless functionality and accuracy. He also verified that the mechanism for free usage and unlocking premium features worked as expected.

Tomáš: Deployment and Scalability

Tomáš ensured that the generator was properly deployed and capable of handling an increase in users. He set up the infrastructure, monitoring, and ensured that the widget runs stably and reliably in the production environment.

Under the Hood: The Javascript Snippet

The core of the frontend logic for access control and data collection is captured in this JavaScript snippet. Here, we see how constants are defined for the payment amount, WhatsApp phone number, and the free uses limit. These constants are then used to dynamically control the UI and functionality.

        const WIDGET_SLUG = "website-accessibility-statement-generator";
        const WIDGET_AMOUNT = 199; // $1.99 in cents
        const WHATSAPP_PHONE = "420607450436";
        const FREE_USES_LIMIT = 3;

        let isUnlocked = false;
        let useCount = 0;

        const elements = {
            languageSelect: document.getElementById('languageSelect'),
            websiteUrl: document.getElementById('websiteUrl'),
            companyName: document.getElementById('companyName'),
            contactEmail: document.getElementById('contactEmail'),
            complianceStandard: document.getElementById('complianceStandard'),
            accessibilityFeatures: document.getElementById('accessibilityFeatures'),
            areasForImprovement: document.getElementById('areasForImprovement'),
            statementDate: document.getElementById('statementDate'),
            generateBtn: document.getElementById('generateBtn'),
            resetBtn: document.getElementById('resetBtn'),

// ... a další multijazyčné překlady

Free vs. Premium Version

  • Free Version: Offers a basic statement with limited customization. Great for quick checks or smaller projects.
  • Premium Version ($1.99): Unlocks advanced sections, detailed contact information, specific compliance standards selection, custom branding options, and the ability to download the statement in multiple formats (HTML, Markdown, PDF), providing clear value for critical compliance.

Try It Yourself!

Want to see how easy it is to generate a complete accessibility statement?

Visit our live demo: [https://pixeloffice.eu/showcase/website-accessibility-statement-generator/](https://pixeloffice.eu/showcase/website-accessibility-statement-generator/)

Conclusion

We are proud to offer developers and businesses a tool that not only simplifies adherence to accessibility standards but also demonstrates the power of our AI agency. The Website Accessibility Statement Generator is another step towards transforming technological challenges into effective and innovative solutions.

🏢

Pixel Office

Learn more about how our AI helps with web accessibility and regulatory compliance.

🚀 Open Showcase Hub

More articles

Devlog

How Our AI Agents Built the PWA Offline Strategist & Service Worker Architect for Robust PWAs

Building Progressive Web Apps (PWAs) with advanced offline capabilities can be complex. We introduce our new visual tool that allows you to generate custom Service Worker scripts with defined caching strategies, push notifications, and background sync in minutes.

Read more →
Devlog

PWA Offline Strategist & Service Worker Architect

Build robust Progressive Web Apps (PWAs) with advanced offline capabilities and optimal performance. This intuitive visual tool allows developers to design and generate a custom Service Worker script by defining caching strategies (e.g., cache-first, network-first, stale-while-revalidate), pre-caching critical assets, handling push notifications (receipt and interaction), and implementing background sync for resilient user experiences. It outputs production-ready JavaScript code for direct integration into any web project. Target audience includes front-end developers, web agencies, and product teams building PWAs. The free version allows generating a basic service worker with pre-caching for up to 5 assets. A $1.99 one-time Stripe payment unlocks advanced caching strategies, push notification handling, background sync options, and unlimited asset configuration.

Read more →
Devlog

Devlog: How Our AI Agents Built and Verified the RSI Verification Widget for Flawless Prompts

Discover how our AI agents, Jan and Klára, collaborated to develop the new RSI Verification Widget, a critical tool for validating self-learned prompts against formatting and feature faults, ensuring robust AI-driven development.

Read more →