diff --git a/index.html b/index.html index 85c7d08..be35fbf 100644 --- a/index.html +++ b/index.html @@ -958,40 +958,197 @@ function displayIssues(issues) { const issuesList = document.getElementById('issuesList'); - + if (issues.length === 0) { issuesList.innerHTML = '

No issues to display

'; return; } - - issuesList.innerHTML = issues.map(issue => ` -
-
-
${issue.category}
- ${issue.severity} + + // Group issues by page and category + const pageGroups = {}; + const documentWideIssues = []; + + issues.forEach(issue => { + if (issue.page_number) { + if (!pageGroups[issue.page_number]) { + pageGroups[issue.page_number] = []; + } + pageGroups[issue.page_number].push(issue); + } else { + documentWideIssues.push(issue); + } + }); + + // Create page overview map + const pageNumbers = Object.keys(pageGroups).map(Number).sort((a, b) => a - b); + const pageOverview = pageNumbers.length > 0 ? ` +
+

πŸ“„ Page Overview

+
+ ${pageNumbers.map(pageNum => { + const pageIssues = pageGroups[pageNum]; + const criticalCount = pageIssues.filter(i => i.severity === 'CRITICAL').length; + const errorCount = pageIssues.filter(i => i.severity === 'ERROR').length; + const warningCount = pageIssues.filter(i => i.severity === 'WARNING').length; + + let bgColor = '#10b981'; // Success green + let iconColor = 'white'; + if (criticalCount > 0) { + bgColor = '#dc2626'; // Critical red + } else if (errorCount > 0) { + bgColor = '#ef4444'; // Error red + } else if (warningCount > 0) { + bgColor = '#f59e0b'; // Warning yellow + iconColor = 'black'; + } + + return ` +
+
Page
+
${pageNum}
+
${pageIssues.length} issue${pageIssues.length !== 1 ? 's' : ''}
+
+ `; + }).join('')} +
+
+ ` : ''; + + // Build the issues HTML + let issuesHTML = pageOverview; + + // Document-wide issues first + if (documentWideIssues.length > 0) { + issuesHTML += ` +
+

+ πŸ“‹ Document-Wide Issues (${documentWideIssues.length}) + β–Ό +

+
+ ${documentWideIssues.map(issue => createIssueCard(issue)).join('')} +
+
+ `; + } + + // Then page-specific issues + pageNumbers.forEach(pageNum => { + const pageIssues = pageGroups[pageNum]; + const criticalCount = pageIssues.filter(i => i.severity === 'CRITICAL').length; + const errorCount = pageIssues.filter(i => i.severity === 'ERROR').length; + const warningCount = pageIssues.filter(i => i.severity === 'WARNING').length; + + issuesHTML += ` +
+

+ πŸ“„ Page ${pageNum} - ${pageIssues.length} Issue${pageIssues.length !== 1 ? 's' : ''} + ${criticalCount > 0 ? `${criticalCount} Critical` : ''} + ${errorCount > 0 ? `${errorCount} Error${errorCount !== 1 ? 's' : ''}` : ''} + ${warningCount > 0 ? `${warningCount} Warning${warningCount !== 1 ? 's' : ''}` : ''} + β–Ό +

+
+ ${pageIssues.map(issue => createIssueCard(issue)).join('')} +
+
+ `; + }); + + issuesList.innerHTML = issuesHTML; + } + + function createIssueCard(issue) { + const iconMap = { + 'CRITICAL': '🚨', + 'ERROR': '❌', + 'WARNING': '⚠️', + 'INFO': 'ℹ️', + 'SUCCESS': 'βœ…' + }; + + const categoryIconMap = { + 'Document Structure': 'πŸ—οΈ', + 'Metadata': 'πŸ“‹', + 'Language': '🌐', + 'Text Accessibility': 'πŸ“', + 'Images': 'πŸ–ΌοΈ', + 'Color Contrast': '🎨', + 'Readability': 'πŸ“š', + 'Link Text': 'πŸ”—', + 'Forms': 'πŸ“„', + 'Tables': 'πŸ“Š', + 'Headings': 'πŸ“‘', + 'Navigation': '🧭', + 'Fonts': 'πŸ”€', + 'Security': 'πŸ”’', + 'OCR Quality': 'πŸ”' + }; + + const icon = iconMap[issue.severity] || 'β€’'; + const categoryIcon = Object.keys(categoryIconMap).find(key => issue.category.includes(key)) + ? categoryIconMap[Object.keys(categoryIconMap).find(key => issue.category.includes(key))] + : 'πŸ“Œ'; + + return ` +
+
+
+ ${categoryIcon} + ${issue.category} +
+ + ${icon} + ${issue.severity} +
${issue.description}
- ${issue.page_number ? `
πŸ“„ Page ${issue.page_number}
` : ''} ${issue.wcag_criterion ? `
πŸ“‹ WCAG ${issue.wcag_criterion}
` : ''} - ${issue.recommendation ? `
πŸ’‘ Recommendation: ${issue.recommendation}
` : ''} + ${issue.recommendation ? `
πŸ’‘ How to Fix: ${issue.recommendation}
` : ''}
- `).join(''); + `; + } + + function togglePageSection(pageNum) { + const section = document.getElementById(`section-${pageNum}`); + const toggle = document.getElementById(`toggle-${pageNum}`); + if (section.style.display === 'none') { + section.style.display = 'block'; + toggle.textContent = 'β–Ό'; + } else { + section.style.display = 'none'; + toggle.textContent = 'β–Ά'; + } + } + + function scrollToPage(pageNum) { + const element = document.getElementById(`page-${pageNum}`); + if (element) { + element.scrollIntoView({ behavior: 'smooth', block: 'start' }); + // Briefly highlight the section + element.style.background = '#fff3cd'; + setTimeout(() => { + element.style.background = ''; + }, 1000); + } } function filterIssues(severity) { currentFilter = severity; - + // Update filter buttons document.querySelectorAll('.filter-btn').forEach(btn => { btn.classList.remove('active'); }); - event.target.classList.add('active'); - + if (event && event.target) { + event.target.classList.add('active'); + } + // Filter issues - const filtered = severity === 'all' - ? allIssues + const filtered = severity === 'all' + ? allIssues : allIssues.filter(issue => issue.severity === severity); - + displayIssues(filtered); } diff --git a/results/pdf_68f68176c722a5.03184737.error.log b/results/pdf_68f68176c722a5.03184737.error.log new file mode 100644 index 0000000..cbcc2dc --- /dev/null +++ b/results/pdf_68f68176c722a5.03184737.error.log @@ -0,0 +1,56 @@ +Traceback (most recent call last): + File "/Users/daveporter/Desktop/CODING-2024/PDF-Accessibility-checker/enterprise_pdf_checker.py", line 1297, in + main() + ~~~~^^ + File "/Users/daveporter/Desktop/CODING-2024/PDF-Accessibility-checker/enterprise_pdf_checker.py", line 1275, in main + checker = EnterprisePDFChecker(args.pdf_file, config, quick_mode=args.quick) + File "/Users/daveporter/Desktop/CODING-2024/PDF-Accessibility-checker/enterprise_pdf_checker.py", line 328, in __init__ + self.vision_client = vision.ImageAnnotatorClient() + ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ + File "/Users/daveporter/Desktop/CODING-2024/PDF-Accessibility-checker/venv/lib/python3.14/site-packages/google/cloud/vision_v1/services/image_annotator/client.py", line 709, in __init__ + self._transport = transport_init( + ~~~~~~~~~~~~~~^ + credentials=credentials, + ^^^^^^^^^^^^^^^^^^^^^^^^ + ...<7 lines>... + api_audience=self._client_options.api_audience, + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ) + ^ + File "/Users/daveporter/Desktop/CODING-2024/PDF-Accessibility-checker/venv/lib/python3.14/site-packages/google/cloud/vision_v1/services/image_annotator/transports/grpc.py", line 237, in __init__ + super().__init__( + ~~~~~~~~~~~~~~~~^ + host=host, + ^^^^^^^^^^ + ...<6 lines>... + api_audience=api_audience, + ^^^^^^^^^^^^^^^^^^^^^^^^^^ + ) + ^ + File "/Users/daveporter/Desktop/CODING-2024/PDF-Accessibility-checker/venv/lib/python3.14/site-packages/google/cloud/vision_v1/services/image_annotator/transports/base.py", line 107, in __init__ + credentials, _ = google.auth.default( + ~~~~~~~~~~~~~~~~~~~^ + **scopes_kwargs, quota_project_id=quota_project_id + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ) + ^ + File "/Users/daveporter/Desktop/CODING-2024/PDF-Accessibility-checker/venv/lib/python3.14/site-packages/google/auth/_default.py", line 705, in default + credentials, project_id = checker() + ~~~~~~~^^ + File "/Users/daveporter/Desktop/CODING-2024/PDF-Accessibility-checker/venv/lib/python3.14/site-packages/google/auth/_default.py", line 698, in + lambda: _get_explicit_environ_credentials(quota_project_id=quota_project_id), + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/Users/daveporter/Desktop/CODING-2024/PDF-Accessibility-checker/venv/lib/python3.14/site-packages/google/auth/_default.py", line 346, in _get_explicit_environ_credentials + credentials, project_id = load_credentials_from_file( + ~~~~~~~~~~~~~~~~~~~~~~~~~~^ + os.environ[environment_vars.CREDENTIALS], + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + quota_project_id=quota_project_id, + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ) + ^ + File "/Users/daveporter/Desktop/CODING-2024/PDF-Accessibility-checker/venv/lib/python3.14/site-packages/google/auth/_default.py", line 173, in load_credentials_from_file + raise exceptions.DefaultCredentialsError( + "File {} was not found.".format(filename) + ) +google.auth.exceptions.DefaultCredentialsError: File /path/to/your/google-credentials.json was not found. diff --git a/results/pdf_68f690e61b1447.67377632.error.log b/results/pdf_68f690e61b1447.67377632.error.log new file mode 100644 index 0000000..af47b9b --- /dev/null +++ b/results/pdf_68f690e61b1447.67377632.error.log @@ -0,0 +1,29 @@ + ℹ️ Using Google API key: AIzaSyDWVxBWiDTeECqa... + βœ… Anthropic Claude initialized +πŸ” Enterprise PDF Accessibility Check +πŸ“„ File: pdf_68f690e61b1447.67377632.pdf +============================================================ + +⏳ Running: Document Structure... ❌ (0.00s) +⏳ Running: Metadata... ❌ (0.00s) +⏳ Running: Language Declaration... ❌ (0.00s) +⏳ Running: Text Extractability... ❌ (0.00s) +⏳ Running: OCR Quality... πŸ” Running OCR analysis... + ⚠️ OCR check skipped: Unable to get page count. Is poppler installed and in PATH? +❌ (0.00s) +⏳ Running: Image Accessibility... πŸ–ΌοΈ Analyzing images with AI... +❌ (0.00s) +⏳ Running: Color Contrast... 🎨 Checking color contrast... + ⚠️ Contrast check skipped: Unable to get page count. Is poppler installed and in PATH? +❌ (0.00s) +⏳ Running: Content Readability... ❌ (0.00s) +⏳ Running: Link Quality... ❌ (0.00s) +⏳ Running: Heading Structure... ❌ (0.00s) +⏳ Running: Form Accessibility... ❌ (0.00s) +⏳ Running: Table Structure... ❌ (0.00s) +⏳ Running: Reading Order... ❌ (0.00s) +⏳ Running: Font Accessibility... ❌ (0.00s) +⏳ Running: Security Settings... ❌ (0.00s) +⏳ Running: Navigation Aids... ❌ (0.00s) + +πŸ“„ Report saved: /Users/daveporter/Desktop/CODING-2024/PDF-Accessibility-checker/results/pdf_68f690e61b1447.67377632.result.json diff --git a/results/pdf_68f690f834ae44.29322803.error.log b/results/pdf_68f690f834ae44.29322803.error.log new file mode 100644 index 0000000..6bee585 --- /dev/null +++ b/results/pdf_68f690f834ae44.29322803.error.log @@ -0,0 +1,29 @@ + ℹ️ Using Google API key: AIzaSyDWVxBWiDTeECqa... + βœ… Anthropic Claude initialized +πŸ” Enterprise PDF Accessibility Check +πŸ“„ File: pdf_68f690f834ae44.29322803.pdf +============================================================ + +⏳ Running: Document Structure... ❌ (0.00s) +⏳ Running: Metadata... ❌ (0.00s) +⏳ Running: Language Declaration... ❌ (0.00s) +⏳ Running: Text Extractability... ❌ (0.00s) +⏳ Running: OCR Quality... πŸ” Running OCR analysis... + ⚠️ OCR check skipped: Unable to get page count. Is poppler installed and in PATH? +❌ (0.00s) +⏳ Running: Image Accessibility... πŸ–ΌοΈ Analyzing images with AI... +❌ (0.00s) +⏳ Running: Color Contrast... 🎨 Checking color contrast... + ⚠️ Contrast check skipped: Unable to get page count. Is poppler installed and in PATH? +❌ (0.00s) +⏳ Running: Content Readability... ❌ (0.00s) +⏳ Running: Link Quality... ❌ (0.00s) +⏳ Running: Heading Structure... ❌ (0.00s) +⏳ Running: Form Accessibility... ❌ (0.00s) +⏳ Running: Table Structure... ❌ (0.00s) +⏳ Running: Reading Order... ❌ (0.00s) +⏳ Running: Font Accessibility... ❌ (0.00s) +⏳ Running: Security Settings... ❌ (0.00s) +⏳ Running: Navigation Aids... ❌ (0.00s) + +πŸ“„ Report saved: /Users/daveporter/Desktop/CODING-2024/PDF-Accessibility-checker/results/pdf_68f690f834ae44.29322803.result.json diff --git a/results/pdf_68f6910eeeb3d7.85806352.error.log b/results/pdf_68f6910eeeb3d7.85806352.error.log new file mode 100644 index 0000000..1ac4a44 --- /dev/null +++ b/results/pdf_68f6910eeeb3d7.85806352.error.log @@ -0,0 +1,123 @@ + ℹ️ Using Google API key: AIzaSyDWVxBWiDTeECqa... + βœ… Anthropic Claude initialized +πŸ” Enterprise PDF Accessibility Check +πŸ“„ File: pdf_68f6910eeeb3d7.85806352.pdf +============================================================ + +⏳ Running: Document Structure... βœ… (0.00s) +⏳ Running: Metadata... βœ… (0.00s) +⏳ Running: Language Declaration... βœ… (0.00s) +⏳ Running: Text Extractability... βœ… (0.45s) +⏳ Running: OCR Quality... πŸ” Running OCR analysis... + ⚠️ OCR check skipped: Unable to get page count. Is poppler installed and in PATH? +βœ… (0.00s) +⏳ Running: Image Accessibility... πŸ–ΌοΈ Analyzing images with AI... + πŸ“Š Found 94 images to analyze... + πŸ“· Analyzed image 1/94 (Page 1) (cached) + πŸ“· Analyzed image 2/94 (Page 1) (cached) + πŸ“· Analyzed image 3/94 (Page 3) (cached) + πŸ“· Analyzed image 4/94 (Page 3) (cached) + πŸ“· Analyzed image 5/94 (Page 3) (cached) + πŸ“· Analyzed image 6/94 (Page 3) (cached) + πŸ“· Analyzed image 7/94 (Page 3) (cached) + πŸ“· Analyzed image 8/94 (Page 3) (cached) + πŸ“· Analyzed image 9/94 (Page 3) (cached) + πŸ“· Analyzed image 10/94 (Page 3) (cached) + πŸ“· Analyzed image 11/94 (Page 3) (cached) + πŸ“· Analyzed image 12/94 (Page 3) (cached) + πŸ“· Analyzed image 13/94 (Page 3) (cached) + πŸ“· Analyzed image 14/94 (Page 3) (cached) + πŸ“· Analyzed image 15/94 (Page 3) (cached) + πŸ“· Analyzed image 16/94 (Page 4) (cached) + πŸ“· Analyzed image 17/94 (Page 4) (cached) + πŸ“· Analyzed image 18/94 (Page 4) (cached) + πŸ“· Analyzed image 19/94 (Page 4) (cached) + πŸ“· Analyzed image 20/94 (Page 6) (cached) + πŸ“· Analyzed image 21/94 (Page 6) (cached) + πŸ“· Analyzed image 22/94 (Page 5) (cached) + πŸ“· Analyzed image 23/94 (Page 7) (cached) + πŸ“· Analyzed image 24/94 (Page 7) (cached) + πŸ“· Analyzed image 25/94 (Page 6) (cached) + πŸ“· Analyzed image 26/94 (Page 6) (cached) + πŸ“· Analyzed image 27/94 (Page 7) (cached) + πŸ“· Analyzed image 28/94 (Page 7) (cached) + πŸ“· Analyzed image 29/94 (Page 7) (cached) + πŸ“· Analyzed image 30/94 (Page 7) (cached) + πŸ“· Analyzed image 31/94 (Page 7) (cached) + πŸ“· Analyzed image 32/94 (Page 7) (cached) + πŸ“· Analyzed image 33/94 (Page 7) (cached) + πŸ“· Analyzed image 34/94 (Page 8) (cached) + πŸ“· Analyzed image 35/94 (Page 8) (cached) + πŸ“· Analyzed image 36/94 (Page 8) (cached) + πŸ“· Analyzed image 37/94 (Page 8) (cached) + πŸ“· Analyzed image 38/94 (Page 8) (cached) + πŸ“· Analyzed image 39/94 (Page 8) (cached) + πŸ“· Analyzed image 40/94 (Page 8) (cached) + πŸ“· Analyzed image 41/94 (Page 8) (cached) + πŸ“· Analyzed image 42/94 (Page 8) (cached) + πŸ“· Analyzed image 43/94 (Page 8) (cached) + πŸ“· Analyzed image 44/94 (Page 9) (cached) + πŸ“· Analyzed image 45/94 (Page 9) (cached) + πŸ“· Analyzed image 46/94 (Page 9) (cached) + πŸ“· Analyzed image 47/94 (Page 9) (cached) + πŸ“· Analyzed image 48/94 (Page 9) (cached) + πŸ“· Analyzed image 49/94 (Page 10) (cached) + πŸ“· Analyzed image 50/94 (Page 10) (cached) + πŸ“· Analyzed image 51/94 (Page 10) (cached) + πŸ“· Analyzed image 52/94 (Page 9) (cached) + πŸ“· Analyzed image 53/94 (Page 10) (cached) + πŸ“· Analyzed image 54/94 (Page 10) (cached) + πŸ“· Analyzed image 55/94 (Page 11) (cached) + πŸ“· Analyzed image 56/94 (Page 11) (cached) + πŸ“· Analyzed image 57/94 (Page 11) (cached) + πŸ“· Analyzed image 58/94 (Page 11) (cached) + πŸ“· Analyzed image 59/94 (Page 12) (cached) + πŸ“· Analyzed image 60/94 (Page 12) (cached) + πŸ“· Analyzed image 61/94 (Page 12) (cached) + πŸ“· Analyzed image 62/94 (Page 12) (cached) + πŸ“· Analyzed image 63/94 (Page 12) (cached) + πŸ“· Analyzed image 64/94 (Page 14) (cached) + πŸ“· Analyzed image 65/94 (Page 13) (cached) + πŸ“· Analyzed image 66/94 (Page 14) (cached) + πŸ“· Analyzed image 67/94 (Page 14) (cached) + πŸ“· Analyzed image 68/94 (Page 13) (cached) + πŸ“· Analyzed image 69/94 (Page 14) (cached) + πŸ“· Analyzed image 70/94 (Page 15) (cached) + πŸ“· Analyzed image 71/94 (Page 15) (cached) + πŸ“· Analyzed image 72/94 (Page 15) (cached) + πŸ“· Analyzed image 73/94 (Page 15) (cached) + πŸ“· Analyzed image 74/94 (Page 15) (cached) + πŸ“· Analyzed image 75/94 (Page 16) (cached) + πŸ“· Analyzed image 76/94 (Page 16) (cached) + πŸ“· Analyzed image 77/94 (Page 16) (cached) + πŸ“· Analyzed image 78/94 (Page 16) (cached) + πŸ“· Analyzed image 79/94 (Page 17) (cached) + πŸ“· Analyzed image 80/94 (Page 19) (cached) + πŸ“· Analyzed image 81/94 (Page 19) (cached) + πŸ“· Analyzed image 82/94 (Page 19) (cached) + πŸ“· Analyzed image 83/94 (Page 20) (cached) + πŸ“· Analyzed image 84/94 (Page 20) (cached) + πŸ“· Analyzed image 85/94 (Page 20) (cached) + πŸ“· Analyzed image 86/94 (Page 20) (cached) + πŸ“· Analyzed image 87/94 (Page 22) (cached) + πŸ“· Analyzed image 88/94 (Page 22) (cached) + πŸ“· Analyzed image 89/94 (Page 26) (cached) + πŸ“· Analyzed image 90/94 (Page 23) (cached) + πŸ“· Analyzed image 91/94 (Page 26) (cached) + πŸ“· Analyzed image 92/94 (Page 26) (cached) + βœ… Completed analysis of 92/94 images +❌ (1.54s) +⏳ Running: Color Contrast... 🎨 Checking color contrast... + ⚠️ Contrast check skipped: Unable to get page count. Is poppler installed and in PATH? +❌ (0.01s) +⏳ Running: Content Readability... ❌ (0.00s) +⏳ Running: Link Quality... ❌ (0.00s) +⏳ Running: Heading Structure... ❌ (0.00s) +⏳ Running: Form Accessibility... ❌ (0.00s) +⏳ Running: Table Structure... ❌ (0.04s) +⏳ Running: Reading Order... ❌ (0.00s) +⏳ Running: Font Accessibility... ❌ (0.00s) +⏳ Running: Security Settings... ❌ (0.00s) +⏳ Running: Navigation Aids... ❌ (0.00s) + +πŸ“„ Report saved: /Users/daveporter/Desktop/CODING-2024/PDF-Accessibility-checker/results/pdf_68f6910eeeb3d7.85806352.result.json diff --git a/results/pdf_68f6916ce7f617.79988789.error.log b/results/pdf_68f6916ce7f617.79988789.error.log new file mode 100644 index 0000000..244117f --- /dev/null +++ b/results/pdf_68f6916ce7f617.79988789.error.log @@ -0,0 +1,29 @@ + ℹ️ Using Google API key: AIzaSyDWVxBWiDTeECqa... + βœ… Anthropic Claude initialized +πŸ” Enterprise PDF Accessibility Check +πŸ“„ File: pdf_68f6916ce7f617.79988789.pdf +============================================================ + +⏳ Running: Document Structure... ❌ (0.00s) +⏳ Running: Metadata... ❌ (0.00s) +⏳ Running: Language Declaration... ❌ (0.00s) +⏳ Running: Text Extractability... ❌ (0.19s) +⏳ Running: OCR Quality... πŸ” Running OCR analysis... + ⚠️ OCR check skipped: Unable to get page count. Is poppler installed and in PATH? +❌ (0.00s) +⏳ Running: Image Accessibility... πŸ–ΌοΈ Analyzing images with AI... +❌ (0.00s) +⏳ Running: Color Contrast... 🎨 Checking color contrast... + ⚠️ Contrast check skipped: Unable to get page count. Is poppler installed and in PATH? +❌ (0.00s) +⏳ Running: Content Readability... ❌ (0.00s) +⏳ Running: Link Quality... ❌ (0.00s) +⏳ Running: Heading Structure... ❌ (0.00s) +⏳ Running: Form Accessibility... ❌ (0.00s) +⏳ Running: Table Structure... ❌ (0.00s) +⏳ Running: Reading Order... ❌ (0.00s) +⏳ Running: Font Accessibility... ❌ (0.00s) +⏳ Running: Security Settings... ❌ (0.00s) +⏳ Running: Navigation Aids... ❌ (0.00s) + +πŸ“„ Report saved: /Users/daveporter/Desktop/CODING-2024/PDF-Accessibility-checker/results/pdf_68f6916ce7f617.79988789.result.json diff --git a/results/pdf_68f69229886380.01972382.error.log b/results/pdf_68f69229886380.01972382.error.log new file mode 100644 index 0000000..205c479 --- /dev/null +++ b/results/pdf_68f69229886380.01972382.error.log @@ -0,0 +1,32 @@ +⚑ Quick mode enabled - skipping expensive checks + + ℹ️ Using Google API key: AIzaSyDWVxBWiDTeECqa... + βœ… Anthropic Claude initialized +πŸ” Enterprise PDF Accessibility Check +πŸ“„ File: pdf_68f69229886380.01972382.pdf +============================================================ + +⏳ Running: Document Structure... βœ… (0.00s) +⏳ Running: Metadata... βœ… (0.00s) +⏳ Running: Language Declaration... βœ… (0.00s) +⏳ Running: Text Extractability... βœ… (0.45s) +⏳ Running: OCR Quality... ⏩ Skipping OCR analysis (quick mode) +βœ… (0.00s) +⏳ Running: Image Accessibility... πŸ–ΌοΈ Analyzing images with AI... + πŸ“Š Found 94 images to analyze... + ⏩ Skipping AI image analysis (quick mode) +βœ… (1.49s) +⏳ Running: Color Contrast... 🎨 Checking color contrast... + ⏩ Skipping detailed contrast analysis (quick mode) +βœ… (0.00s) +⏳ Running: Content Readability... ❌ (0.00s) +⏳ Running: Link Quality... ❌ (0.00s) +⏳ Running: Heading Structure... ❌ (0.00s) +⏳ Running: Form Accessibility... ❌ (0.00s) +⏳ Running: Table Structure... ❌ (0.04s) +⏳ Running: Reading Order... ❌ (0.00s) +⏳ Running: Font Accessibility... ❌ (0.00s) +⏳ Running: Security Settings... ❌ (0.00s) +⏳ Running: Navigation Aids... ❌ (0.00s) + +πŸ“„ Report saved: /Users/daveporter/Desktop/CODING-2024/PDF-Accessibility-checker/results/pdf_68f69229886380.01972382.result.json diff --git a/uploads/pdf_68f690e61b1447.67377632.pdf b/uploads/pdf_68f690e61b1447.67377632.pdf new file mode 100644 index 0000000..7c02b9e --- /dev/null +++ b/uploads/pdf_68f690e61b1447.67377632.pdf @@ -0,0 +1,91 @@ +%PDF-1.3 +%βγΟΣ +1 0 obj +<< +/Producer (pypdf) +/Title (Sample Accessible Document) +/Author (PDF Accessibility Checker) +/Subject (Demonstration of accessible PDF features) +>> +endobj +2 0 obj +<< +/Type /Pages +/Count 1 +/Kids [ 4 0 R ] +>> +endobj +3 0 obj +<< +/Type /Catalog +/Pages 2 0 R +>> +endobj +4 0 obj +<< +/Contents 5 0 R +/MediaBox [ 0 0 612 792 ] +/Resources << +/Font 6 0 R +/ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] +>> +/Rotate 0 +/Trans << +>> +/Type /Page +/Parent 2 0 R +>> +endobj +5 0 obj +<< +/Filter [ /ASCII85Decode /FlateDecode ] +/Length 272 +>> +stream +Gas2Cd7s`t&4PLPMYi2VXP7>1X)BJNORPM%Ipag[>I/HD3ud_YmBWC&!iD/F9^Xo"UQDCONkb8&PJQ'A6"u],<07nL/%h7sENc'oDQh6br8"E;6KL4>pBgI/5?c5b]%N[Qjros?JTspJr8R*Q(Umg]FRcAiL6lFGE;5ZXs;EdN3#CQk5`gp>8$c;R@TK'ROK@OBPht2*sA?W,Hklf~> +endstream +endobj +6 0 obj +<< +/F1 7 0 R +/F2 8 0 R +>> +endobj +7 0 obj +<< +/BaseFont /Helvetica +/Encoding /WinAnsiEncoding +/Name /F1 +/Subtype /Type1 +/Type /Font +>> +endobj +8 0 obj +<< +/BaseFont /Helvetica-Bold +/Encoding /WinAnsiEncoding +/Name /F2 +/Subtype /Type1 +/Type /Font +>> +endobj +xref +0 9 +0000000000 65535 f +0000000015 00000 n +0000000178 00000 n +0000000237 00000 n +0000000286 00000 n +0000000475 00000 n +0000000838 00000 n +0000000879 00000 n +0000000986 00000 n +trailer +<< +/Size 9 +/Root 3 0 R +/Info 1 0 R +>> +startxref +1098 +%%EOF diff --git a/uploads/pdf_68f690f834ae44.29322803.pdf b/uploads/pdf_68f690f834ae44.29322803.pdf new file mode 100644 index 0000000..7c02b9e --- /dev/null +++ b/uploads/pdf_68f690f834ae44.29322803.pdf @@ -0,0 +1,91 @@ +%PDF-1.3 +%βγΟΣ +1 0 obj +<< +/Producer (pypdf) +/Title (Sample Accessible Document) +/Author (PDF Accessibility Checker) +/Subject (Demonstration of accessible PDF features) +>> +endobj +2 0 obj +<< +/Type /Pages +/Count 1 +/Kids [ 4 0 R ] +>> +endobj +3 0 obj +<< +/Type /Catalog +/Pages 2 0 R +>> +endobj +4 0 obj +<< +/Contents 5 0 R +/MediaBox [ 0 0 612 792 ] +/Resources << +/Font 6 0 R +/ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] +>> +/Rotate 0 +/Trans << +>> +/Type /Page +/Parent 2 0 R +>> +endobj +5 0 obj +<< +/Filter [ /ASCII85Decode /FlateDecode ] +/Length 272 +>> +stream +Gas2Cd7s`t&4PLPMYi2VXP7>1X)BJNORPM%Ipag[>I/HD3ud_YmBWC&!iD/F9^Xo"UQDCONkb8&PJQ'A6"u],<07nL/%h7sENc'oDQh6br8"E;6KL4>pBgI/5?c5b]%N[Qjros?JTspJr8R*Q(Umg]FRcAiL6lFGE;5ZXs;EdN3#CQk5`gp>8$c;R@TK'ROK@OBPht2*sA?W,Hklf~> +endstream +endobj +6 0 obj +<< +/F1 7 0 R +/F2 8 0 R +>> +endobj +7 0 obj +<< +/BaseFont /Helvetica +/Encoding /WinAnsiEncoding +/Name /F1 +/Subtype /Type1 +/Type /Font +>> +endobj +8 0 obj +<< +/BaseFont /Helvetica-Bold +/Encoding /WinAnsiEncoding +/Name /F2 +/Subtype /Type1 +/Type /Font +>> +endobj +xref +0 9 +0000000000 65535 f +0000000015 00000 n +0000000178 00000 n +0000000237 00000 n +0000000286 00000 n +0000000475 00000 n +0000000838 00000 n +0000000879 00000 n +0000000986 00000 n +trailer +<< +/Size 9 +/Root 3 0 R +/Info 1 0 R +>> +startxref +1098 +%%EOF diff --git a/uploads/pdf_68f6910eeeb3d7.85806352.pdf b/uploads/pdf_68f6910eeeb3d7.85806352.pdf new file mode 100644 index 0000000..998a35b Binary files /dev/null and b/uploads/pdf_68f6910eeeb3d7.85806352.pdf differ diff --git a/uploads/pdf_68f6916ce7f617.79988789.pdf b/uploads/pdf_68f6916ce7f617.79988789.pdf new file mode 100644 index 0000000..28eeda1 Binary files /dev/null and b/uploads/pdf_68f6916ce7f617.79988789.pdf differ diff --git a/uploads/pdf_68f69229886380.01972382.pdf b/uploads/pdf_68f69229886380.01972382.pdf new file mode 100644 index 0000000..998a35b Binary files /dev/null and b/uploads/pdf_68f69229886380.01972382.pdf differ