This warning light illuminates:
In this case, have your vehicle inspected by an authorized HYUNDAI dealer.
Information - Electronic Parking Brake (EPB) Warning Light
The Electronic Parking Brake (EPB) Warning Light may illuminate when the Electronic Stability control (ESC) Indicator Light comes on to indicates that the ESC is not working properly (This does not indicate malfunction of the EPB).
Hyundai Sonata LF 2014-2019 Service Manual: Movable Glass Repair procedures
Replacement
1.
Completely open the movable glass using the panorama sunroof switch.
2.
Remove both sides of the decoration cover (A).
3.
Completely close the movable glass using the panorama sunroof switch.
4.
Adjust the height of the glass by slighty loosening the screws (A).
...
Hyundai Sonata LF 2014-2019 Service Manual: Components and Components Location
Component Location
1. Cowl top cover
...