The hazard statement domain elements in DITA are used to identify safety messages, hazard levels, symbols, consequences, and instructions for avoiding hazards.
hazardstatement (Hazard Statement)
The hazardstatement element is the container for a complete safety or hazard message.
Warning:
- Electrical shock hazard
- Contact with energized components can result in death or serious injury.
- Turn off and lock out all power before performing maintenance.
messagepanel (Message Panel)
The messagepanel element groups the main message content inside a hazard statement.
CAUTION:
- Hot surface hazard
- Touching the surface may cause minor or moderate burns.
- Allow the equipment to cool before handling.
typeofhazard (Type of Hazard)
The typeofhazard element identifies the nature of the hazard.
DANGER:
- Crushing hazard
- Moving parts can cause serious injury.
- Keep hands clear while the machine is operating.
consequence (Consequence)
The consequence element describes what can happen if the hazard is not avoided.
Warning:
- Chemical exposure hazard
- Exposure may result in respiratory irritation.
- Wear approved protective equipment and ensure proper ventilation.
howtoavoid (How to Avoid)
The howtoavoid element explains the action required to avoid or reduce the hazard.
CAUTION:
- Equipment damage hazard
- Using the wrong power adapter may damage the device.
- Use only the approved power adapter supplied with the equipment.
hazardsymbol (Hazard Symbol)
The hazardsymbol element references a graphical safety symbol associated with the hazard statement.
Warning:
- Electrical shock hazard
- Failure to disconnect power may result in serious injury or death.
- Disconnect all power sources before servicing the equipment.
Hazard Statement Types
The type attribute on hazardstatement can be used to identify the hazard level, such as danger, warning, or caution.
DANGER:
- Explosion hazard
- Improper handling can result in death or serious injury.
- Keep ignition sources away from the work area.
Warning:
- Sharp edge hazard
- Contact with exposed edges can result in cuts.
- Wear cut-resistant gloves when handling the panel.
CAUTION:
- Trip hazard
- Loose cables may cause minor or moderate injury.
- Route cables away from walkways.