What are work laws on mental impaired people, can they be legally fired for not memorizing things fast?

"People may perceive them as lazy, when in fact, their disabilities impact their ability to learn, work, and function in life."

those a employer have the right fire them if they can't learn as fat, they might have already learn half menu in a short period of time.

link in this article