Let $A$ be a finite dimensional $k$-algebra for a field $k$ of characteristic zero. Thus, I can regard any element $r\in A$ as a linear function $(r\cdot{})\colon A\to A$ of finite dimensional $k$-vector spaces. I have come across the following statement.
Dickson's criterion: An element $r\in A$ is contained in the Jacobson radical $J(A)$ if and only if $\operatorname{tr}(rs)=0$ for all $s\in A$.
However, I have failed to find a proof, either by myself or by looking on the internet. I am even not sure if the statement is correct this way. Any precisition, proof and/or reference is appreciated.