I am a criminal lawyer as well as a writer, and the main reason I didn't want a lawyer as the hero was because I was worried I would get bogged down with the need to be accurate. As a result, I made my hero a crime journalist, so that you get all the fun of the crime without the rules.
But how much does accuracy matter, if accuracy would make it duller, or if inaccuracy would make it more interesting? Do readers forgive legal or procedural errors if the story is still great fun to read, or do inaccuracies detract from the story by making it less believable?
As an example, a murder trial would take place maybe six months after the arrest, but if the trial is part of the plot, skipping six months can seem odd. So is it okay to make the trial a week later, just to keep the momentum, even though everyone knows it wouldn't happen like that?