JSFiddle - React, Tailwind, and code Playground

HTML

<ul>
    <li><a href="#" aria-label="Пункт 1"></a></li>
    <li><a href="#" aria-label="Пункт опа 2"></a></li>
</ul>

CSS

ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 2em;
    line-height: 2em;
}
 
li {
   text-align: center;
}
 
li + li::before {
    content: "•";
    float: left;
}

li a {
    display:block;
    position: relative;
    text-decoration: none;
}

li a:before {
    content: attr(aria-label);
    position: absolute;
    left: 0;
    top: 0;
    left: 0;
    right: 0;
    text-decoration: underline;
}

li a:hover:before, li a:after {
    color: transparent;
    text-decoration-color: transparent;
}

li a:hover:after {
    color: inherit;
    text-decoration-color: inherit;
}