A nonprofit website has to do more than explain a mission. It needs to work well on phones, make public information easy to find, protect private board documents, and let supporters donate without weird checkout prompts. In practice, many organizations end up picking either a general-purpose website builder (which can add cost and constraints) or a custom app (which can be hard to maintain and may deliver thin "real content" until JavaScript runs).
Those trade-offs aren't inevitable. A small team can combine static rendering, an edge runtime, semantic HTML, and a nonprofit-controlled donation destination - without building a big server stack. The approach here uses Vite and React for the application, pre-renders public pages to HTML, and relies on Cloudflare Workers for routing and private application shells. It also treats accessibility and document separation as part of the structure, not add-ons you remember later.
This isn't a promise that any checklist or platform automatically guarantees accessibility, legal compliance, or security. It's a practical way to reduce common failure modes, make key decisions easier to test, and keep operating costs predictable. The sections below walk through the architecture, the trade-offs, and the checks a nonprofit team can adapt to its own site.
Why nonprofit websites need a different set of constraints
A nonprofit site is often run by a small team with limited time and a budget that has to go to the work itself. The website still has several jobs: communicate the organization's purpose, share trustworthy governance information, support fundraising, and stay usable for visitors using different devices and with different access needs.
The common failure is treating those jobs as unrelated features. A donation widget gets added without checking what the checkout experience actually looks like. An accessibility tool gets installed without fixing page semantics. A board portal is built next to public pages, but without a clear rule for what search engines may index. Individually, each choice can feel minor. Together, they create a system that's hard to audit and easy to break.
Why a general-purpose builder may not be enough
A hosted builder can be a good choice when you need something live quickly and its templates already match your requirements. The trade-off shows up when you need tight control over output, page structure, donation behavior, or private member areas. Renewals, plugins, and add-ons can also make long-term cost less obvious than the initial price.
A custom single-page application changes the trade-offs again. You can share components between a public site and an authenticated portal, but a client-rendered page may initially show little or no meaningful content until JavaScript loads. That can slow first paint on slow connections and complicate previews and indexing if you don't pre-render.
Neither approach is automatically "wrong." The real question is whether the implementation gives the team control over the requirements that matter - without creating more maintenance than the team can handle.
Treat requirements as system boundaries
Before picking tools, split the site into a few operational areas:
- Public content: mission, programs, contact information, and governance pages.
- Private application: staff dashboards, member accounts, and board materials.
- Giving: a clear path to a payment destination chosen by the nonprofit.
- Quality checks: repeatable tests for page output, keyboard access, and mobile layout.
This breakdown matters because each area has different rules. Public pages should be crawlable and show useful content in the HTML. Private pages shouldn't show up in search results. Board records need deliberate access and redaction decisions. Donation pages should make cost and destination clear to supporters.
The architecture works only if those boundaries stay clear as the site changes. If a new volunteer can't tell whether a document is public or private - or a developer doesn't know which routes should be indexed - you don't need another plugin. You need clearer rules.
How hybrid rendering works on Cloudflare Workers
This setup uses Vite and React 19 for shared application code, plus a build-time pre-rendering step for public routes. Instead of running a separate Node server to render every request, the build generates static HTML files that Cloudflare Workers can serve at the edge. Then the React app hydrates those pages once the browser loads the client bundle.
In the described setup, the pre-render script generates 22 public, indexable routes. That includes core landing pages, template galleries, pricing, an audit tool, comparison pages, and technical or governance articles. The build also emits a sitemap, a robots file, canonical metadata, and route-specific structured data where it makes sense.
What pre-rendering solves - and what it does not
The main benefit is straightforward: for a public page, the HTTP response includes the actual content in the HTML. Visitors don't have to wait for the client application to build the page before they see the main message. Search crawlers and link-preview systems also get something meaningful to inspect.
A set of static files is also operationally simple for a relatively stable marketing site. You don't have a per-request rendering service to scale or debug for those pages. The edge can serve the built output close to visitors, while the application still uses shared React components and TypeScript contracts.
Pre-rendering does add a build-time responsibility: every public route you want to exist must be included in the route list and kept in sync with the app. If the route inventory is incomplete, a page might exist as a client component but never appear in the static output. Build checks should therefore verify that expected files and metadata exist - not just that the bundler finished successfully.
Why not use server-side rendering for everything?
Server-side rendering can make sense if pages depend on frequently changing data, personalized output, or decisions made on each request. It also brings runtime complexity and infrastructure that a small site may not need.
A practical approach is to decide based on where your data changes and how much complexity your team can support. Keep stable public content static. Use application routes for authenticated or truly dynamic workflows. If you later need highly dynamic public pages, test that need first before replacing a simpler pipeline.
Make route behavior explicit
Keep a route inventory that records whether each page is public, indexable, and pre-rendered. For example, a pricing page might be public and indexable, while a workspace dashboard is private and should not be indexed. This classification gives the build and Worker a shared policy.
Also check the delivered response, not just the source files. For public routes, confirm that the page returns its main content, has a suitable canonical URL, and includes only the structured data that applies. Structured data can help describe a page, but it can't compensate for missing content.
How to separate public records from private board documents
Nonprofit sites usually deal with two different kinds of governance material - and they shouldn't be treated the same. Public-inspection records (like applicable Form 990 filings and determination letters) belong in a public transparency area when the organization is required to provide them or chooses to make them available. Internal board packets, personnel notes, and working budgets often need to stay behind authenticated access.
This isn't just "PDF vs website." A PDF can be public or private, and putting a file in object storage doesn't automatically make the access policy safe. The site needs a clear classification, a deliberate publishing workflow, and a way to verify that private material can't be reached through a public route.
Create a public-versus-private decision matrix
For each document type, write down the intended audience, who approves publication, where it's stored, and whether redaction is required. A compact matrix helps volunteers make consistent decisions when staff or board membership changes.
For public Form 990 copies, review the applicable public-inspection and redaction requirements before publishing. In particular, don't expose contributor information that should be redacted from a public-inspection copy - like Schedule B names and addresses where redaction applies. Requirements can vary by document and circumstances, so use current IRS guidance and qualified advice rather than treating a generic technical checklist as legal approval.
For private materials, access control must be enforced by the application or storage layer - not only by hiding a link in the interface. Test direct file requests too, not just the normal portal flow. If a signed-out user can retrieve a board packet by guessing its address, it isn't private.
Keep search indexing separate from access control
A noindex directive helps keep dashboards and login shells out of search results, but it's not a security control. It tells compliant crawlers not to index a page; it doesn't stop someone from opening a public URL. Authentication and authorization must protect private content directly.
In the Cloudflare Worker approach described here, public allowlisted routes serve pre-rendered files. Private application shells pass through HTMLRewriter, which removes pre-rendered public marketing markup and injects a noindex, nofollow directive. This reduces two specific risks: public landing-page content flashing before authentication resolves, and private shell routes being treated as indexable marketing pages.
Test that edge logic against every route class. A route accidentally left on the public allowlist could expose the wrong shell. A private route that still gets public metadata could produce confusing previews. The allowlist and route policy should be reviewable, not buried in a pile of scattered conditionals.
How to build accessibility into the page structure
Accessibility is easier to maintain when it's part of the page's HTML and CSS from the start. An overlay script can't reliably create missing form labels, fix a confusing heading order, make an image-only scanned PDF readable, or ensure a custom mobile menu works with a keyboard. It might add controls, but it doesn't replace fixing the underlying experience.
For nonprofits, this is also an operational issue. A donation flow or governance page that works only with a mouse leaves some visitors unable to complete important tasks. Accessibility has to be treated as a quality requirement across templates and generated pages - not a one-time widget you install and forget.
Start with semantic structure and keyboard access
A practical page shell should have one clear main content area, meaningful navigation, and landmarks that match what's actually on the page. Use native links and buttons instead of clickable generic containers whenever possible. A link navigates; a button performs an action. That distinction matters for keyboard behavior and assistive technology output.
Add a skip link as the first keyboard-accessible navigation aid so visitors can jump straight to the main content. Keep visible focus indicators. If you remove the browser outline without replacing it with something equally visible, it becomes much harder to track where keyboard focus is. A high-contrast focus ring (for example, a 3-pixel outline) is one concrete option, but you still need to check it against the design and surrounding colors.
Respect reduced-motion preferences by disabling or reducing nonessential animation and smooth scrolling when a visitor asks for less motion. For governance tables, use clear headings and descriptive link text. "Download the 2024 Form 990" communicates more than "click here," especially when users hear links read out of context.
Test the page, not just the checklist
A checklist can catch obvious omissions, but passing a set of structural checks doesn't prove full WCAG 2.2 AA conformance. Automated tools can't evaluate every interaction, content decision, or assistive-technology experience. Manual keyboard testing and reviews with people who use assistive technologies still matter - especially for navigation, forms, dialogs, and donation flows.
The approach described here uses a Playwright smoke test on desktop and mobile viewport sizes. It checks for JavaScript runtime errors and horizontal overflow by comparing the document width with the viewport width. Those checks are useful because they're quick to run on every deployment and catch regressions early.
They're also intentionally limited. A page can have no horizontal overflow and still have low contrast, broken form error messages, or a keyboard menu that's unusable. Treat smoke tests as the first layer: automated checks for repeatable failures, then manual checks for behavior and meaning.
How to keep donation flows direct and test the result
Donation checkout is part of the user experience, but it's also a common source of unexpected cost and confusion. Some third-party fundraising tools ask donors to add an optional platform tip, sometimes with a preselected amount. A supporter may assume that extra money goes to the nonprofit - when it actually supports the platform.
One way to avoid that specific prompt is to send the site's main donation button directly to a payment destination controlled by the nonprofit, like its own Stripe Payment Link or PayPal donation checkout. In the described builder, donation URLs are validated in the site configuration and must use HTTPS. The platform doesn't insert an intermediary checkout that adds a platform tip or percentage commission.
Be precise about "zero-tip" giving
A direct link can remove the platform's extra tipping prompt, but it doesn't mean every donation is cost-free. Payment processors may still charge transaction fees, and the organization's payment provider can have its own terms. The promise should be narrower and clearer: the website builder doesn't take a percentage commission on donations and doesn't add a platform-tip step to the configured flow.
Make the destination clear before the donor leaves the site. Test the button on mobile, confirm the organization name appears correctly in checkout, and review any recurring-gift defaults or suggested amounts. These details affect whether a supporter understands what they're agreeing to.
Use checks that match the risk
A lightweight release checklist can cover the main failure modes without pretending to be a full audit:
- Confirm each public route returns meaningful HTML before client-side JavaScript runs.
- Check canonical metadata and structured data for representative page types.
- Verify private routes are not indexable, and separately confirm private files require authorization.
- Test skip links, focus visibility, reduced motion, forms, and navigation with a keyboard.
- Run desktop and mobile smoke tests for runtime errors and horizontal overflow.
- Open public governance documents and confirm applicable redactions before publication.
- Follow each donation button through to checkout and review the final amount, recipient, and any additional prompts.
The build described in the source material also includes a standalone, MIT-licensed checklist and a semantic HTML-and-CSS starter shell. You can adapt those resources for an existing static site or a custom theme. Use them as a starting point for review, not as a certification and not as a substitute for legal and accessibility expertise.
Conclusion
A dependable nonprofit website is less about picking a fashionable framework and more about making boundaries clear. Public pages need useful rendered content. Private documents need real access controls. Accessibility needs to live in the structure and interactions. Donation flows need to make sense from the supporter's point of view.
A hybrid Vite and React build with static public output and Cloudflare Worker routing is one workable way to meet those needs without running a separate rendering server for every page. It also comes with real responsibilities: maintain the route inventory, test edge rules, review documents before publication, and remember that smoke tests aren't a full accessibility audit.
Start by mapping public, private, and donation routes, then write down the checks that would catch the most damaging mistakes. Keep the stack as small as your team can operate, and add complexity only when a real requirement justifies it.
