Support auditing files on localhost
Closed this issue · 2 comments
addyosmani commented
$ a11y http://localhost:3000/
undefined:1
TypeError: 'undefined' is not a function (evaluating 'document.querySelector.b
^
SyntaxError: Unexpected token T
at Object.parse (native)
at /Users/addyo/projects/a11y/index.js:23:23
at ChildProcess.exithandler (child_process.js:635:7)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Socket.<anonymous> (child_process.js:956:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
Similarly, this fails:
$ a11y http://192.168.1.105:3000
undefined:1
TypeError: 'undefined' is not a function (evaluating 'document.querySelector.b
^
SyntaxError: Unexpected token T
at Object.parse (native)
at /Users/addyo/projects/a11y/index.js:23:23
at ChildProcess.exithandler (child_process.js:635:7)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Socket.<anonymous> (child_process.js:956:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
addyosmani commented
Confirmed that this is supported by the accessibility tools as well as phantom, so it must be something silly I'm doing.
addyosmani commented