<div data-role="checkout-agreements">
    <div
        class="checkout-agreements fieldset"
        data-bind="visible: isVisible"
    >
        <!-- ko foreach: agreements -->
            <!-- ko if: ($parent.isAgreementRequired($data)) -->
            <div
                class="
                    checkout-agreement
                    required
                    checkbox
                "
            >
                <input
                    type="checkbox"
                    class="required-entry