When the attorney is using "yes" and "no" in a generic way -- that is, s/he is not asking for those specific words but is looking for a positive or negative answer -- they are not capped or quoted.
...It is a yes-or-no question.
...I will need a yes or no and not nods of the head.
Happy punctuating!
Margie