#!/usr/bin/env node /** * Simple test to verify UI rendering still works after accessibility changes */ const { layout } = require('./src/http/ui-pages.js'); console.log('๐Ÿงช Testing UI Rendering After Accessibility Changes'); console.log('===================================================\n'); try { // Test basic layout rendering const theme = { app_title: 'AI News Writer', accent_hex: '#1d4ed8' }; const html = layout('Test Page', '

Test content

', theme); console.log('โœ… Layout function works correctly'); // Check for key accessibility features in output const hasSkipLink = html.includes('