Bug 1027740 - Make accessibility UI test failures more verbose

This check isn't accurate in the case where 'acc' exists and 'once' was passed to the function.