They're fairly accurate. The cases they deal with are often way more dramatic and entertaining than real cases. And of course things move a lot faster in the TV legal world than they do in real law. But David Kelley, who is an attorney himself, writes them so they'll be realistic rather than completely fictionalized. He often gets his ideas from real court cases and real news stories.