We present the results of simultaneous Wilson-Devinney analyses of light and radial velocity curves of two contact binaries in the constellation Ursa Majoris. We found that HH UMa is an A-subtype W UMa binary, which conflicts with the classification of Han et al. (2014) as a W-subtype. Seasonal variations observed in the light curves of the system are well explained with two cool stellar spots in our solution as opposed to the hot-spot based solution by Han et al. (2014), the presence of which would not cause such rapid period variations. The evolutionary status of the system is in agreement with the findings of our study. We modeled II UMa, another A-subtype overcontact binary, without surface spots and found that its both components have rather low surface gravities indicating an advanced state of evolution pointing to evolved subgiants. The high contact degree (f=74%) supports this viewpoint. Our analysis shows that there is a significant third light contribution, contradicting some of the previous analyses, which lack the detection of the secondary minima as total eclipses because they were not as evident as they are in our light curves.