Made change to allow for use of onclick in links unless href is empty.

Previously any use of onclick was triggering a failure, but this is  too aggressive and identifies non-failures.