GotAltBot: what GotAlt's web fetcher reads, and how to block it

GotAltBot is the web fetcher behind GotAlt's accessibility checks. It reads a page when a person asks GotAlt to check it, and reads pages on its own for the free scan's extra pages, sitemap discovery, weekly monitoring, the Site Image Check a customer buys and GotAlt's own research. A robots.txt rule addressed to GotAltBot by name is always respected. For pages a customer monitors, GotAlt also opens the page in a browser, which identifies itself as GotAltBot too.

Published . Last reviewed .

Its user agent

The fetcher, which reads the HTML your server sends, makes every request with this user agent:

GotAltBot/1.0 (+https://gotalt.com/bot; accessibility checker)

When GotAlt opens a monitored page in a browser, the requests the browser makes for that page carry the browser's own user agent, which names the browser and its version, with this added at the end:

GotAltBot/1.0 (+https://gotalt.com/bot)

The browser's part is read from the browser and changes as the browser is updated.

In robots.txt, address both as GotAltBot: a group addressed to that name matches the fetcher and the browser alike. The name is matched without regard to case.

What it fetches, and when

GotAltBot makes two kinds of request. Some come from a person asking GotAlt to check one page, and GotAltBot treats those much as a browser treats a person opening that page. The rest are pages GotAlt reads on its own. Before it reads any page on a site, GotAltBot checks that site's /robots.txt.

What GotAltBot requests, what starts it, and which robots.txt rules apply
What starts it What GotAltBot requests robots.txt rules that apply
A visitor runs the free scan The page they entered Groups addressed to GotAltBot by name
The same free scan Up to two more pages from the same site, picked from the first page's links All of them: the GotAltBot group, or the User-agent: * group if there is none
A visitor runs the deep AI audit The free scan above, then up to six of the page's images that have alt text Groups addressed to GotAltBot by name, for the page and for each image's own address
A visitor runs the alt text checker The page they entered and up to six of its images Groups addressed to GotAltBot by name; the images follow their page
A visitor enters an address in the heading checker or the link text checker The page they entered Groups addressed to GotAltBot by name
A customer adds a site to monitoring, or asks for its pages from the sitemap The home page (to see whether the site answers at its www or bare address), and the sitemap files on the site itself All of them
Monitoring of the pages a customer has added Each page once a week, plus a first check when it is added, an extra check the customer can ask for once a day per site, and retries after a failed check, with up to six of its images each time All of them; the images follow their page
A monitored page has changed since its last browser visit, or has not had one for a week The page, and what a browser loads for it: its stylesheets, scripts, fonts, images and frames. Visits are spread out through the day, and once a page's visit has finished it is not repeated within a week unless the page changes All of them, for the page and at each redirect: the GotAltBot group, or the User-agent: * group if there is none
A visitor looks up a site on the Site Image Check order page, and then buys the check Before payment: the site's robots.txt, its home page and its sitemap files. After payment: up to 250 pages, chosen from the sitemap (or, if there is none, the home page and the pages on the same site it links to), read about six seconds apart, each with up to six of its images All of them, for the page and at each redirect: the GotAltBot group, or the User-agent: * group if there is none; the images follow their page
A customer buys a Bulk Alt Text Pack and uploads a list of product images Each image address in the list, up to 500, once, about five at a time; images hosted by Shopify are requested at 1,200 pixels wide Groups addressed to GotAltBot by name, for each image's own address
A customer's Listing Photo Disclosure Pack has listing pages that link to unaltered original images Each original's address, about once a month (one that did not answer, again a day later; one that stopped answering, about once a week): a HEAD request and, if that is not answered with success, a request for the first byte of the file. The image itself is never downloaded or kept Groups addressed to GotAltBot by name, for each image's own address and at each redirect
GotAlt's own research One page of a site GotAlt chose, to research the market or to show a prospective customer a finding on their own site, and up to six of its images that have an alt attribute All of them; the images follow their page

How it applies robots.txt

A page a person asked us to check

When a person submits a page in the free scan, the deep AI audit, the alt text checker, or the address box of the heading and link text checkers, GotAltBot fetches that page and the images on it the way a browser would, because a person asked for that page. Wildcard (User-agent: *) rules do not apply to that single requested fetch. Rules in a group addressed to GotAltBot by name are always respected, and they are checked again at every redirect. If the site's robots.txt cannot be read, the requested page is still fetched.

Pages GotAlt finds or re-checks on its own

The free scan's extra pages, sitemap discovery, scheduled monitoring, the pages of a Site Image Check and GotAlt's own research follow robots.txt in full: the group addressed to GotAltBot if the file has one, otherwise the User-agent: * group. Every redirect is checked again against the robots.txt of the address it leads to.

If a site's robots.txt returns a server error (a 5xx status), times out, cannot be reached, or redirects more than four times, GotAltBot does not crawl that site on its own until it can read the file. A 404 or any other 4xx status means there are no restrictions.

The browser follows the same rules. Before it opens a monitored page it applies robots.txt as above, and it applies it again at every redirect. If your robots.txt cannot be read, it does not open the page and tries again later. A page that is allowed loads what a browser loads for a visitor: its stylesheets, scripts, fonts, images and frames. As in any browser, these are not checked against robots.txt one by one, but a frame whose address is a private or internal network address is not loaded. Because the page's own scripts run, an analytics script on the page can count the visit.

Images

Images are fetched as part of their page and follow the page's decision. For the alt text checker, monitoring, the Site Image Check and GotAlt's own research, GotAltBot does not check robots.txt separately for an image's own address, including an image served from another host such as a content delivery network.

The deep AI audit is the exception. It receives its list of images from the visitor's browser rather than from a page GotAltBot read, so it also checks each image's own address, and every redirect, against rules addressed to GotAltBot by name, and skips an image those rules cover. Wildcard rules do not stop these images, as they do not stop the page. The link check of a Listing Photo Disclosure Pack works the same way for the original image addresses a customer gave us, and shows the customer an original those rules cover as not checked.

How rules are read

  • The longest matching rule wins, and an Allow rule wins a tie.
  • * matches any run of characters, and a final $ marks the end of the address. Rules are matched against the path and the query string, so Disallow: /*?sort= covers /products?sort=price.
  • GotAltBot reads the first 512 KiB of a robots.txt file, and ignores a line that limit cuts in two.
  • It keeps a site's robots.txt for up to an hour, so a change reaches it within an hour. A file it could not read, or that answered 429 Too Many Requests, is tried again after five minutes.
  • It does not read Crawl-delay. Its own pacing is described below.

How to block GotAltBot

To stop GotAltBot reading any page of your site, including pages a person asks GotAlt to check, add this group to your robots.txt:

User-agent: GotAltBot
Disallow: /

This group covers requests for addresses on your site. An image of yours shown on another site's page is fetched as part of that page and follows that page's robots.txt, not yours, except in the deep AI audit, which also checks the image's own address as described above.

To keep it out of one part of your site, disallow that path in the same group:

User-agent: GotAltBot
Disallow: /checkout/

A User-agent: * group on its own stops the pages GotAlt reads on its own, but not a page a person asks us to check. If your wildcard group disallows everything and you want GotAlt to monitor your own site, let GotAltBot in by name:

User-agent: GotAltBot
Allow: /

If you pay for monitoring and your robots.txt blocks GotAltBot from a monitored page, that page isn't checked and your account page says so. It still counts toward your page count until you remove it or allow GotAltBot.

What it does not do

  • The fetcher reads the HTML your server sends. It does not run JavaScript, so content a script adds after the page loads is not in what it reads. On pages a customer monitors, GotAlt also opens the page in a browser, which runs the page's own scripts and styles. Only monitored pages are opened in a browser: the free scan, the deep audit, the free tools and GotAlt's own research never open one.
  • Neither the fetcher nor the browser fills in or submits forms, signs in, or keeps cookies from one page to the next. The browser does not click or scroll. The fetcher's requests are ordinary GET requests, except the listing pages' link check, which sends a HEAD request first and, when it sends a GET, asks for the first byte of the file only.
  • The fetcher reads robots.txt, the page itself, sitemaps, and the images the checks above describe. It does not fetch a page's stylesheets, scripts or fonts; the browser does, as part of opening a monitored page.
  • The fetcher follows at most four redirects for one request, and only to public addresses: it refuses private and internal network addresses.

How fast it goes

  • The free scan reads at most three pages of a site, one at a time.
  • Monitoring spaces one site's pages about six seconds apart in each scheduled run.
  • The browser opens at most two pages at a time across all sites, and its visits are spread out through the day, so a site's pages are not opened all at once.
  • If a site answers the browser with a bot challenge, a password page, a 401, 403 or 429, a redirect to a different site, or a robots.txt rule that blocks the page, GotAlt counts that as a refusal. After three refusals in a row it stops opening that site in a browser for 30 days. The weekly check of the site's HTML carries on.
  • If a site answers 429 Too Many Requests, or 503 with a Retry-After header, monitoring pauses that site: for five minutes at first, doubling each time it happens again up to two hours, or for as long as Retry-After asks if that is longer, up to six hours.

Contact

If GotAltBot is causing a problem on your site, email hello@gotalt.com with your site's address and the time of the requests. We reply within two working days (Monday to Friday). Our terms set out the same robots.txt policy.

Questions about GotAltBot

Why did GotAltBot read a page my robots.txt disallows for all bots?

Because a person asked GotAlt to check that page. Wildcard rules do not apply to that single requested fetch, in the same way they do not stop a person opening the page in a browser. To stop it, add a group addressed to GotAltBot by name with Disallow: /.

Does GotAltBot run JavaScript or submit forms?

The fetcher that reads your server's HTML does not run JavaScript. For pages a customer monitors, GotAlt also opens the page in a browser, which runs the page's own scripts so we can check the page as visitors see it. Neither one fills in or submits forms, signs in, or keeps cookies from one page to the next, and the browser does not click or scroll.

How soon does a change to my robots.txt take effect?

Within an hour. GotAltBot keeps a site's robots.txt for up to an hour before reading it again.

What happens while my robots.txt is down?

If it returns a server error, times out or cannot be reached, GotAltBot does not crawl your site on its own, and tries the file again after five minutes. A page a person asks GotAlt to check is still fetched. A 404 means there are no restrictions.

Does GotAltBot follow Crawl-delay?

No. It does not read Crawl-delay. Monitoring spaces one site's pages about six seconds apart and pauses a site that answers 429, or 503 with a Retry-After header.

See what GotAlt checks on your site

Run a free scan to see which problems automated checks find, or look at a real report first.

Scan my site for free See a real report first