TransitFare
Transit Alerts · Website Widget

Transit Alert Widget for Your Website

An embeddable widget shows current service disruptions on your agency website and clears itself when the alert ends. One snippet, no CMS plugin, updated from the same alert you already published.

Example: an agency homepage rivertontransit.org Riverton Transit RoutesFaresAbout Route 5 detour Main St closed, use 2nd Ave. Until 6 PM. Service alert Plan your trip RoutesSchedulesFares

The banner on most agency homepages says “Route 5 detour” long after Route 5 is back to normal. Someone posted it during the closure, and updating the website was never anyone’s job description, so it just stays. A transit website alert widget solves that problem directly. It pulls from the same alert your agency already publishes, so the banner clears itself when the alert ends.

What Is a Transit Website Alert Widget?

A transit alert widget is a small panel embedded on an agency’s own website that displays current service alerts. It pulls from the same alert that feeds Google Maps and rider email. It shows nothing when there is nothing to report, and it updates within minutes of a new alert being published, with no separate edit to the page required.

That single sentence covers the whole idea, but two details decide whether a widget is worth having: what it actually shows, and how easy it is to keep current. Neither is obvious from a screenshot.

What It Shows and When

The widget shows active alerts only. When an alert is published, it appears in the widget automatically, scoped to the route, stop, or system-wide notice it was written for. When the alert is resolved, the widget shows it as resolved for a short window and then clears it, with no second step for anyone to remember.

When there is nothing to report, the widget does not vanish and leave a blank gap in the page. It shows a plain “no active service alerts” line instead, so a visitor knows the widget is live and current rather than broken or abandoned. That distinction matters more than it sounds: a widget that silently disappears when quiet looks identical to a widget nobody ever finished installing.

Each alert in the widget carries the route it affects, a plain description of what changed, and the time window it applies to. Riders reading the widget on their phone at a stop should be able to tell, in one glance, whether their route is affected today.

No alertsOne alertSeveral alerts Service alertsService alertsService alerts No activeservice alertsMain St closed,use 2nd Ave Route 5 detourRoute 5Route 2Oak St stop Today, all dayDetourDelay, +12 minClosed

Installing It

Adding the widget is one embed, not a new deployment. A communications team pastes a short snippet into the page template once, and the widget renders from there with no CMS-specific plugin and no server configuration to maintain. It works the same on a custom-built site, a hosted platform, or a government CMS. That is because it renders itself and pulls its content from the alert feed, not from anything stored on the website.

TransitFare is a transit technology company founded in 2012 that builds Transit Alerts and the rest of its rider communication tools for small and mid-sized transit agencies running 10 to 50 vehicles. Transit Alerts runs entirely in the cloud, so the widget ships as part of the platform rather than as separate software to license. A software-only rollout, including the widget, typically takes about 4 weeks. A hardware deployment like Automated Fare Collection typically takes about 12. The widget is one of 6 channels a single alert already reaches, alongside Google Maps, email, social media, and SMS.

Because the widget reads from the alert feed rather than from a database on your server, there is nothing to patch when TransitFare updates the widget itself. The embed stays the same. What changes is what it shows. Over 90% of TransitFare customers expand to additional modules.

Accessibility

An ADA coordinator reviewing a widget deserves more than a color scheme that happens to pass. Three things matter, and TransitFare treats each as a requirement, not a nice-to-have.

Screen reader behaviour. The widget uses an ARIA live region. When a new alert appears, a screen reader announces it without the visitor needing to reload the page or hunt for what changed. A rider using assistive technology gets the detour at the same moment a sighted visitor sees the banner update.

Contrast. Widget text is designed to meet the WCAG 2.1 Level AA contrast minimum of 4.5 to 1 for body text and 3 to 1 for large text, in the default state and in each alert-severity variant. A red detour banner is still legible at that contrast, not just visible.

Keyboard focus. Every interactive element in the widget, including a “view details” expansion where one is used, is designed to be reachable by tab key alone, with a visible focus outline.

This is not decorative. The Department of Justice’s 2024 Title II rule under the Americans with Disabilities Act requires state and local government web content to conform to WCAG 2.1 Level AA. The extended deadline is April 2027 for public entities serving 50,000 or more residents, and April 2028 for smaller entities and special district governments. A widget that fails contrast or keyboard access on a city or transit authority website is not a cosmetic gap. It is the kind of finding that shows up in a compliance audit with your agency’s name on it.

Where It Belongs on the Page

The widget works best near the top of the homepage, above the fold, where a first-time visitor sees it without scrolling. A second placement on the routes and schedules page catches riders who came looking for something specific rather than browsing. Burying the widget in a footer or a dedicated “alerts” page nobody visits defeats the reason to have it. It should be the first thing a rider checking your site actually reads.

Most agencies place it in both locations from the same embed, since the widget itself does not change. Only where it sits on the page does.

A widget only closes the gap between what your agency knows and what your website shows if it is easy enough to install that it actually gets installed. The same approach applies to schedules: a transit schedule widget renders departures from the records the GTFS feed is built from, so the timetable page cannot drift either. See how the alert widget fits alongside the rest of Transit Alerts and SMS alerts for riders without a smartphone, and read the detour communication playbook for what to publish and when. Or schedule a demo to see the widget running on a copy of your own site.