Keep screen reader voice mode test explicit
Build and publish frontend / publish (push) Successful in 38s

This commit is contained in:
Ein Anderssono
2026-10-15 10:21:29 +02:00
parent 222dcb9054
commit 9efb602653
+1
View File
@@ -153,6 +153,7 @@ test('TTS and microphone are mutually exclusive', () => {
test('speech is disabled in screen-reader mode and gracefully degrades without synthesis', () => {
const screenReader = makeHarness();
screenReader.controller.update({mode: 'screen-reader'});
assert.equal(screenReader.controller.speak('dialog'), false);
const noTts = makeHarness({tts: false});
noTts.controller.update({mode: 'game-voice'});