Some of my students get extended deadlines on assignments due to a disability. They are not required to tell me the nature of their disability (which may be physical, intellectual, or psychological), but some choose to do so. (United States faculty are legally required to grant accommodations to such students, who are certified by a college office that knows the details of their situation.)
My question is what to say when a student asks for a recommendation for an industry position (typically as a software engineer). I legally cannot reveal that they have a disability, but their ability to complete assignments correctly and on time is relevant to their qualifications for a job.
To clarify, I don't consider it relevant to an employer if a student uses assistive technology or if the student takes extra time on exams, since the latter is an artificial situation irrelevant outside of school. (All of the exams I give are untimed anyway.) My concern is about students who are unable to complete assignments in the normal amount of time, which is always at least a week, even given any needed accommodations. The ability to complete work at the normal rate seems like it might be a bona fide occupational qualification. Of course, it is not the employer's business whether the need for extra time is due to a disability.