Use the code in this article to remove the dotted outline around a link.
a, a:hover, a:active, a:focus {
outline: 0;
}
Code language: CSS (css)
! However, it’s recommended that you do not do this, since it will cause trouble for the accessibility of your app / website.
Source: