Close icon

Use a generic close icon for dismissing content like modals and alerts.

Be sure to include text for screen readers, as we’ve done using .sr-only utility, or, as a last resort, as Bootstrap does with aria-label.

<button type="button" class="close">
    <span class="sr-only">Close</span>
</button>