1. Disconnect the negative battery cable..
2. Remove the front map light..
3. Verify that the continuity between the sunroof switch terminals is as indicated in the table.

If not as indicated in the table, replace the sunroof switch.

Sunroof Switch Removal/InstallationBrake
Brake System
Foot Brake
Your Mazda has power-assisted brakes that adjust automatically through normal
use.
Should power-assist fail, you can stop by applying greater force than normal
to the brake pedal. But the distance required to stop will be greater than usual.
WARNING
Do not coast wi ...
Automatic Transaxle Warning Light [Fw6 A EL, Fw6 Ax EL]
Purpose/Function
The automatic transaxle warning light illuminates when the transaxle has
malfunction.
Construction
The automatic transaxle warning light is built into the instrument cluster.
Operation
If the transmission has a malfunction, the TCM sends an ...
Rear Seat Back Removal/Installation
CAUTION:
When removing or putting in the rear seat, contact with the surrounding areas
of the vehicle could cause scratches and damage. When removing or putting in
the rear seat, always use two or more persons to perform the work and be careful
not to scratch or damage the rear seat ...