fix: keep the volume readout out of the live regions
This commit is contained in:
@@ -313,9 +313,12 @@ onBeforeUnmount(() => {
|
||||
max="1"
|
||||
step="0.05"
|
||||
:value="audioVolume"
|
||||
:aria-valuetext="`${Math.round(audioVolume * 100)}%`"
|
||||
@input="changeVolume"
|
||||
/>
|
||||
<output for="drive-volume">{{ Math.round(audioVolume * 100) }}%</output>
|
||||
<!-- A plain readout: <output> is an implicit live region and would
|
||||
compete with the motion status announcer. -->
|
||||
<span class="drive-popover__readout" aria-hidden="true">{{ Math.round(audioVolume * 100) }}%</span>
|
||||
</div>
|
||||
</template>
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user