import { describe, test, expect } from 'vitest'; import { InputField } from './InputField'; const toHtml = (InputField as any).toHtml; describe('InputField.toHtml accessibility (F2.1)', () => { test('label for= matches input id=', () => { const { html } = toHtml({ label: 'Your Name', name: 'name' }, ''); const forMatch = html.match(/