Is there a way to get rid of the selection rectangle by clicking a link that does not refresh the current page entirely?
Do you mean the dotted diagram of the goal?
Try:
:focus { outline: 0; }
This will remove all focal contours. IT is essentially the same as onclick in JavaScript. You can apply this to a:focus .
a:focus
Try adding this:
onclick="this.blur()"
Discussed here
(CSS?) Exclude "selected" browser lines around the hyperlink?