All elevators have devices that detect if an object is inside the door to help you keep the door from closing on a passenger.
This applies to both ramp-style doors and full-sized elevator doors. https://Socialdummies.com/story3130219/electric-vertical-wheelchair-lifts-the-various-types-available