@@ -214,6 +214,10 @@ export class SpeechExplorer
214214 <li><kbd><</kbd> cycles through the verbosity levels
215215 for the current rule set.</li>
216216
217+ <li><kbd>b</kbd> toggles whether Braille notation is combined
218+ with speech text for tactile Braille devices, as discussed
219+ below.
220+
217221 <li><kbd>h</kbd> produces this help listing.</li>
218222 </ul>
219223
@@ -324,6 +328,7 @@ export class SpeechExplorer
324328 [ 'p' , [ ( explorer ) => explorer . prevMark ( ) , false ] ] ,
325329 [ 'u' , [ ( explorer ) => explorer . clearMarks ( ) , false ] ] ,
326330 [ 's' , [ ( explorer ) => explorer . autoVoice ( ) , false ] ] ,
331+ [ 'b' , [ ( explorer ) => explorer . toggleBraille ( ) , false ] ] ,
327332 ...[ ...'0123456789' ] . map ( ( n ) => [
328333 n ,
329334 [ ( explorer : SpeechExplorer ) => explorer . numberKey ( parseInt ( n ) ) , false ] ,
@@ -905,6 +910,15 @@ export class SpeechExplorer
905910 this . Update ( ) ;
906911 }
907912
913+ protected toggleBraille ( ) {
914+ const value = ! this . document . options . a11y . brailleCombine ;
915+ if ( this . document . menu ) {
916+ this . document . menu . menu . pool . lookup ( 'brailleCombine' ) . setValue ( value ) ;
917+ } else {
918+ this . document . options . a11y . brailleCombine = value ;
919+ }
920+ }
921+
908922 /**
909923 * Get index for cell to jump to.
910924 *
0 commit comments