I am very well aware of the laws pertaining to interviews. I have interviewed several hundred people.
I have a dozen you so open-ended questions that can bring out the answers to questions you can not ask. It's not illegal if they volunteer the information.
"How many days did you miss at your last job?"
"What would be the # 1 number reason at your last job you were unable to come to work?"
Legal questions, It's all how you ask the question