EN
We study Hankel operators and commutators that are associated with a symbol and a kernel function. If the kernel function satisfies an upper bound condition, we obtain a sufficient condition for commutators to be bounded or compact. If the kernel function satisfies a local bound condition, the sufficient condition turns out to be necessary. The analytic and harmonic Bergman kernels satisfy both conditions, therefore a recent result by Wu on Hankel operators on harmonic Bergman spaces is extended.