I've made an image map whereas I tab through the page, it outlines the <area> element with the given color (in Firefox it just has a thin dotted line, in Chrome it happens to show the outline in a solid color) but doesn't apply any of the other given parameters.
*:focus-visible {
outline: 2px dashed #000 !important;
z-index: 1010;
outline-offset: 0;
-webkit-box-shadow: 0 0 0 2px #fff !important;
box-shadow: 0 0 0 2px #fff !important;
}
map {
display: inline-block;
}
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Imagemap</title>
</head>
<body>
<!-- Image Map Generated by http://www.image-map.net/ -->
<img src="https://simplenotes.nl/img/foto.jpg" usemap="#image-map">
<map name="image-map">
<area target="" alt="kosten" title="kosten" href="#"
coords="379,239,364,109,506,0,600,0,601,41,437,165,443,217,426,224,407,234,395,236" shape="poly">
</map>
</body>
</html>
So when tabbing through the page it should show a dotted line like: Example picture
