pa11y-ci cannot fetch a sitemap if a proxy is required to access it.
It seems that the call to fetch the sitemap from a remote location does not consider a proxy.
Tested behind VPN + Proxy; proxy setting works without --sitemap, but not with --sitemap.
I could not evaluate whether or not it would be able to fetch a sitemap behind HTTP Basic Auth but I assume it would be ignored, too, as the respective line only issues a simple .then(() => fetch(sitemapUrl)).
pa11y-ci cannot fetch a sitemap if a proxy is required to access it.
It seems that the call to fetch the sitemap from a remote location does not consider a proxy.
Tested behind VPN + Proxy; proxy setting works without --sitemap, but not with --sitemap. I could not evaluate whether or not it would be able to fetch a sitemap behind HTTP Basic Auth but I assume it would be ignored, too, as the respective line only issues a simple .then(() => fetch(sitemapUrl)).
Example configuration:
pa11y_config.js
Example command:
pa11y-ci --config pa11y_config.js -s https://pa11y.org/sitemap.xml
(behind VPN with required outgoing proxy)