You've got to try to settle the dispute before you file a lawsuit if you want attorney's fees.  Even if a fee award is mandatory.  At least if your lawsuit requests relief that the defendant can voluntarily provide after you file your lawsuit (e.g., constructing that handicapped-accessible space).