The answers, "That's right," and, "That is correct," are fairly identical answers and both should be accepted. The latter answer is more formal and proper, however.
There are many ways to say thing in English, and some are more accurate than others. The answers," That's correct," That's true," and "That's right," should all be accepted!