Comma selectors do not obey the distributive property.
a b, c
matches a b
and c
; it is not equivalent to a c
.
Therefore, your #emailField input
selector is more specific than .ui-state-error
(since it includes an ID selector), whereas textarea
is less specific (since it does not include an ID selector.