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