I'm trying to figure out a way to use a HTML select element, but disable the dropdown menu. I still want the user to be able to use the up/down arrows when focused on the element, but I don't want the menu to actually appear (I plan on replacing it due to low customizability).
Most sources I see suggest using display: none for the option elements, however that still leaves behind a little blank bar:

and this also will not allow the user to use up/down arrows to navigate the menu.
Is this possible while still using the form select element, without losing tab/arrow navigation abilities, with pure CSS? I want to use select for accessibility/form compatibility.
select {
border: 0;
border-radius: 20px;
padding: 10px;
cursor: pointer;
height: 50px;
max-height: 50px;
}
option {
z-index: -2;
background-color: white;
border-color: white;
}
<select>
<option value=1>Value 1</option>
<option value=2>Value 2</option>
<option value=3>Value 3</option>
<option value=4>Value 4</option>
<option value=5>Value 5</option>
</select>