+
+
-
handleParamChange('lockToSequencer', e.target.checked)}
- className="sr-only"
- aria-label="Lock to Sequencer Notes"
- />
-
LOCK TO SEQUENCER NOTES
-
+
+
handleParamChange('lockToSequencer', !localLock)}
+ aria-hidden="true"
+ >
+ LOCK TO SEQUENCER NOTES
+
+
{/* Divider */}
diff --git a/src/components/__tests__/LiveKeyboardA11y.test.tsx b/src/components/__tests__/LiveKeyboardA11y.test.tsx
index 5287f9ff..80dcbed1 100644
--- a/src/components/__tests__/LiveKeyboardA11y.test.tsx
+++ b/src/components/__tests__/LiveKeyboardA11y.test.tsx
@@ -19,7 +19,7 @@ describe('LiveKeyboard Accessibility', () => {
expect(dialog).toHaveAttribute('aria-labelledby', 'keyboard-guide-title');
// 3. Check for Title ID matching aria-labelledby
- const title = screen.getByText('PIANO MODE');
+ const title = screen.getByText('PIANO KEYBOARD');
expect(title).toHaveAttribute('id', 'keyboard-guide-title');
// 4. Verify Initial Focus
diff --git a/vite.config.ts b/vite.config.ts
index 4275d27f..ab76ccb0 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -17,7 +17,7 @@ export default defineConfig({
},
},
optimizeDeps: {
- exclude: ['onnxruntime-web'],
+ exclude: ['onnxruntime-web', 'emsdk'],
},
build: {
sourcemap: true,