TL;DR: This chunk of code will add a little tooltip to the currently focused element, telling you which classes it has so you can identify it.
let style = `:focus::after {
background-color: #333;
color: white;
content: 'has focus: ' attr(class);
font-family: monospace;