I am struggling to get Voiceover to read the following sentence out correctly.
Visual display: 2.37m / 3:54am
Voiceover says "two point thirty seven minutes slash 3 fifty four em"
With a space between 2.37 and m, Voiceover says meters instead, but I don't want that space. I've tried adding a bunch of markup to break the letters up for Voiceover but hide it from sight. However, it ignored the aria-label, it reads each letter of meters out one by one and it still reads out the "m /" even though it is marked as aria-hidden
.sr-only {
font-size: 0.01px !important;
}
<span aria-label="2.37 meters at 3:54 AM">
<span>2.37</span>
<span class="sr-only">metres</span>
<span aria-hidden="true">m / </span>
<span>3:54 A</span>
<span class="sr-only"> </span>
<span>m</span>
</span>