I am afraid that my employer will harass me or tell other co-workers about my situation if I take time off to deal with domestic violence. Is this legal?
No. Your employer cannot fire you, threaten to fire you, harass you, put you at a lower-ranked position, suspend you, or punish you in any way for asking for this time off or for taking this time off.* Also, the law requires your employer to keep your domestic violence or sexual violence situation private (confidential). For example, your employer cannot tell your co-workers, your clients, or other employers that you took time off to deal with domestic violence or sexual assault. Your employer also cannot disclose (talk about or write about) the reason for your time off. They must also keep private any documents that you give them that relate to your domestic violence or sexual assault situation.**
* Ann.Cal.Labor Code §§ 230(c) & (e) & 230.1(a) & (c)
** Ann.Cal.Labor Code §§ 230 (d)(3) & 230.1(b)(3)