Federal Employment Law Compliance Checker
Answer a few questions to perform a high-level self-audit of your compliance with key U.S. employment laws.
Tell us about your business
This information helps us tailor the checklist to the laws that most likely apply to your organization.
Compliance Checklist
Please answer all questions before generating the report.
Compliance Report
Disclaimer: This tool is for informational purposes only and does not constitute legal advice. Consult with a qualified legal professional for guidance on your specific circumstances.
No immediate action items identified based on your answers. Continue to maintain best practices.
'; if (responses.length > 0) { recommendationsHTML = '- ';
responses.forEach(r => {
recommendationsHTML += `
- ${r.dataset.rec} `; }); recommendationsHTML += '
${score}%
Compliance Score
${riskLevel}
${riskText}
Actionable Recommendations
${recommendationsHTML}Compliance Report
For: ${companyName}
${reportContent} `; downloadPdfBtn.textContent = 'Generating...'; downloadPdfBtn.disabled = true; container.classList.remove('hidden'); container.style.position = 'absolute'; container.style.left = '-9999px'; container.style.top = '0'; try { const canvas = await html2canvas(pdfPreview, { scale: 2 }); const imgData = canvas.toDataURL('image/png'); const pdf = new jsPDF({ orientation: 'p', unit: 'pt', format: 'a4' }); const pdfWidth = pdf.internal.pageSize.getWidth(); const margin = 40; const usableWidth = pdfWidth - margin * 2; const imgScaledHeight = (canvas.height * usableWidth) / canvas.width; pdf.addImage(imgData, 'PNG', margin, margin, usableWidth, imgScaledHeight); pdf.save(`${companyName.replace(/ /g, '_')}_Compliance_Report.pdf`); } catch (error) { console.error("Error generating PDF:", error); } finally { container.classList.add('hidden'); container.style.position = ''; downloadPdfBtn.textContent = 'Download PDF Report'; downloadPdfBtn.disabled = false; pdfPreview.innerHTML = ''; } } downloadPdfBtn.addEventListener('click', downloadPDF); // --- Initial Load --- updateNavButtons(); });