"about:blank" pages show up in logs with middleman
Closed this issue · 1 comments
ckundo commented
Running accesslint-ci against a middleman site (thoughtbot/bourbon.io) yields logs for about:blank
.
accesslint-ci scan http://localhost:4567
No existing logs for comparison.
'about:blank | moderate | Documents must have <title> element to aid in navigation | ["html"]'
'about:blank | serious | <html> element must have a valid lang attribute | ["html"]'
ckundo commented
This was happening because the middleman server had not fully started. To fix this, we can execute accesslint-ci
when the middleman server daemonization finishes using &&
:
bundle exec middleman server --daemon --port=4567 --watcher-disable && accesslint-ci scan http://localhost:4567