Landlord Welded Handicap Ramp Shut

Is this legal? They’re renting apartments to tenants with the expectation this is available but have welded it shut permanently and provided no notice to the residents.