Hazard Statement Element (hazardstatement)
The hazardstatement element contains hazard warning information based on ANSI Z535 and ISO 3864 regulations. It's particularly useful to inform readers about potential safety hazards, their consequences, and strategies to avoid them.
The hazardstatement element serves these primary purposes:
-
Communicates product safety hazards using industry-standard warning levels
-
Provides structured information about hazard types, consequences, and avoidance methods
-
Enables consistent presentation of safety information across documentation
-
Supports the inclusion of safety symbols to enhance visual warning effectiveness
Key characteristics of the hazardstatement element:
-
Must contain at least one
messagepanelelement for textual hazard information -
Can include one or more
hazardsymbolelements for graphical warnings -
Requires a
typeattribute to specify the hazard severity level -
Can be added before the
cmdelement inside a step
A hazardstatement element consists of these required and optional elements:
- Message panel (
messagepanel) - A required element that contains the textual hazard information. Each hazard statement must have at least one message panel that groups the hazard description, consequences, and avoidance instructions.
- Type of hazard (
typeofhazard) - A required element within
messagepanelthat describes the specific hazard, such as Rotating blade or Hot surfaces inside. This element helps users quickly identify the nature of the danger. - Consequence (
consequence) - An optional element within
messagepanelthat specifies what happens if the hazard is not avoided, for example, "Contact may cause burn" or "Moving parts can crush and cut." - How to avoid (
howtoavoid) - A required element within
messagepanelthat provides instructions to prevent the hazard, such as Follow lockout procedure before servicin or "Wear protective gear." This element can contain block-level elements like lists for detailed instructions. - Hazard symbol (
hazardsymbol) -
An optional element that references a graphic representing the hazard. Multiple hazard symbols can be included to show different aspects of the danger or to comply with various safety standards. The graphic is typically an industry-standard safety symbol.
The type attribute values for hazardstatement follow specific safety standards:
danger- Indicates an imminently hazardous situation resulting in death or serious injury if not avoided.
warning- Indicates a potentially hazardous situation that could result in death or serious injury.
caution- Indicates a potentially hazardous situation that might result in minor or moderate injury.
notice- Indicates a potential situation that might result in property damage or undesirable results.
Use hazardstatement to:
-
Warn users about physical dangers in hardware documentation
-
Alert readers to potential data loss or system damage scenarios
-
Provide safety information that complies with ANSI Z535 and ISO 3864 standards
-
Create consistent safety messaging across product documentation sets
-
Support localization of safety warnings while maintaining standard hazard levels
When deciding between the hazardstatement and note elements:
Choose a
hazardstatementwhen you are providing a formal, critical product safety hazard warning.In contrast, use a
notefor more general emphasis on text that requires special attention but does not fall under the strict definition of a product safety hazard.
The hazardstatement element used in a step before the cmd element to warn about a rotating blade hazard in a task topic in the Heretto CCMS Content Editor:
The DITA source of the hazardstatement element with the surrounding context of a task topic:
<task id="task-9279">
<title>Replacing the Cutting Assembly</title>
<shortdesc>Replace the cutting assembly when blades become dull or damaged.</shortdesc>
<prolog>
<author translate="no" type="creator">Heretto User <user@heretto.com></author>
<metadata>
<keywords/>
</metadata>
</prolog>
<taskbody>
<steps>
<step>
<hazardstatement type="danger">
<messagepanel>
<typeofhazard>Rotating blade.</typeofhazard>
<consequence>Moving parts can crush and cut.</consequence>
<howtoavoid>Follow lockout procedure before servicing.</howtoavoid>
</messagepanel>
</hazardstatement>
<cmd>Disconnect power and follow lockout procedures.</cmd>
</step>
<step>
<cmd>(...)</cmd>
</step>
</steps>
</taskbody>
</task>