CSS class string assertion was fragile — class names can change without breaking the actual layout. DOM measurement via getBoundingClientRect is the correct way to verify computed height meets WCAG 2.2 minimum. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>