You cannot detect such, but you could provide the basics...alt text for images and videos, relative fonts so that users with impaired vision (but not blind) can easily scale etc
There are tools to check you existing site. See also
What is 508 Compliance? | 508Checker.com[
508 Compliance] where you can scan your site to check for compliance.