A global tooltip is a single p:tooltip without a target. It binds to the elements with a title attribute or, as in this example, with the pass-through attribute data-tooltip. Ajax updates are supported as well: if a target component is updated with Ajax, the tooltip still binds to it, which the button shows by updating its parent.
<div class="card">
<p:tooltip/>
<h:form>
<h:panelGroup layout="block" styleClass="formgrid grid">
<div class="field col-12 md:col-4 p-fluid">
<p:outputLabel for="@next" value="Input"/>
<p:inputText pt:data-tooltip="Tooltip for an input"/>
</div>
<div class="field col-12 md:col-4">
<span class="block mb-2">Link</span>
<h:outputLink value="#" pt:data-tooltip="Tooltip for a link">
<h:outputText value="About"/>
</h:outputLink>
</div>
<div class="field col-12 md:col-4">
<span class="block mb-2">Button</span>
<p:commandButton value="Update" pt:data-tooltip="Update components" update="@parent"/>
</div>
</h:panelGroup>
</h:form>
</div>