Preferably combined with the rest of your scripts.
<body>
...
<script src="accessible-outline.min.js" async></script>
</body>
Hide the outline from the elements you want. For example: we hide only the outline of a button.
.no-outlines {
button {
outline: none;
}
}