@govtechsg/oobee 0.10.93 → 0.10.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/AGENTS.md +20 -0
  2. package/dist/cli.js +3 -2
  3. package/dist/combine.js +3 -3
  4. package/dist/constants/common.js +119 -52
  5. package/dist/crawlers/commonCrawlerFunc.js +11 -2
  6. package/dist/crawlers/crawlDomain.js +4 -6
  7. package/dist/crawlers/crawlSitemap.js +14 -2
  8. package/dist/crawlers/custom/utils.js +22 -9
  9. package/dist/crawlers/guards/urlGuard.js +19 -1
  10. package/dist/static/ejs/partials/components/allIssues/CategoryBadges.ejs +3 -0
  11. package/dist/static/ejs/partials/components/allIssues/IssuesTable.ejs +3 -3
  12. package/dist/static/ejs/partials/components/header/aboutScanModal/AboutScanModal.ejs +1 -1
  13. package/dist/static/ejs/partials/components/header/aboutScanModal/ScanConfiguration.ejs +3 -3
  14. package/dist/static/ejs/partials/components/header/aboutScanModal/ScanDetails.ejs +34 -27
  15. package/dist/static/ejs/partials/components/ruleModal/ruleOffcanvas.ejs +1 -0
  16. package/dist/static/ejs/partials/components/scannedPagesSegmentedTabs.ejs +7 -0
  17. package/dist/static/ejs/partials/components/wcagCoverageDetails.ejs +5 -5
  18. package/dist/static/ejs/partials/scripts/header/aboutScanModal/AboutScanModal.ejs +3 -3
  19. package/dist/static/ejs/partials/scripts/prioritiseIssues/PrioritiseIssues.ejs +21 -19
  20. package/dist/static/ejs/partials/scripts/ruleModal/pageAccordionBuilder.ejs +39 -8
  21. package/dist/static/ejs/partials/scripts/scannedPagesSegmentedTabs.ejs +11 -5
  22. package/dist/static/ejs/partials/scripts/screenshotLightbox.ejs +49 -31
  23. package/dist/static/ejs/partials/styles/header/SiteInfo.ejs +1 -1
  24. package/dist/static/ejs/partials/styles/header/aboutScanModal/ScanDetails.ejs +36 -16
  25. package/dist/static/ejs/partials/styles/prioritiseIssues/PrioritiseIssues.ejs +22 -1
  26. package/dist/static/ejs/partials/styles/styles.ejs +1 -1
  27. package/dist/static/ejs/partials/styles/wcagCompliance/WcagGaugeBar.ejs +6 -0
  28. package/dist/static/ejs/partials/styles/wcagCompliance.ejs +5 -4
  29. package/dist/static/ejs/partials/styles/wcagCoverageDetails.ejs +6 -1
  30. package/oobee-client-scanner.js +2 -2
  31. package/package.json +1 -1
  32. package/src/cli.ts +3 -2
  33. package/src/combine.ts +3 -2
  34. package/src/constants/common.ts +112 -36
  35. package/src/crawlers/commonCrawlerFunc.ts +11 -2
  36. package/src/crawlers/crawlDomain.ts +4 -5
  37. package/src/crawlers/crawlSitemap.ts +19 -2
  38. package/src/crawlers/custom/utils.ts +26 -13
  39. package/src/crawlers/guards/urlGuard.ts +18 -1
  40. package/src/static/ejs/partials/components/allIssues/CategoryBadges.ejs +3 -0
  41. package/src/static/ejs/partials/components/allIssues/IssuesTable.ejs +3 -3
  42. package/src/static/ejs/partials/components/header/aboutScanModal/AboutScanModal.ejs +1 -1
  43. package/src/static/ejs/partials/components/header/aboutScanModal/ScanConfiguration.ejs +3 -3
  44. package/src/static/ejs/partials/components/header/aboutScanModal/ScanDetails.ejs +34 -27
  45. package/src/static/ejs/partials/components/ruleModal/ruleOffcanvas.ejs +1 -0
  46. package/src/static/ejs/partials/components/scannedPagesSegmentedTabs.ejs +7 -0
  47. package/src/static/ejs/partials/components/wcagCoverageDetails.ejs +5 -5
  48. package/src/static/ejs/partials/scripts/header/aboutScanModal/AboutScanModal.ejs +3 -3
  49. package/src/static/ejs/partials/scripts/prioritiseIssues/PrioritiseIssues.ejs +21 -19
  50. package/src/static/ejs/partials/scripts/ruleModal/pageAccordionBuilder.ejs +39 -8
  51. package/src/static/ejs/partials/scripts/scannedPagesSegmentedTabs.ejs +11 -5
  52. package/src/static/ejs/partials/scripts/screenshotLightbox.ejs +49 -31
  53. package/src/static/ejs/partials/styles/header/SiteInfo.ejs +1 -1
  54. package/src/static/ejs/partials/styles/header/aboutScanModal/ScanDetails.ejs +36 -16
  55. package/src/static/ejs/partials/styles/prioritiseIssues/PrioritiseIssues.ejs +22 -1
  56. package/src/static/ejs/partials/styles/styles.ejs +1 -1
  57. package/src/static/ejs/partials/styles/wcagCompliance/WcagGaugeBar.ejs +6 -0
  58. package/src/static/ejs/partials/styles/wcagCompliance.ejs +5 -4
  59. package/src/static/ejs/partials/styles/wcagCoverageDetails.ejs +6 -1
  60. package/testStaticJSScanner.html +1 -1
  61. /package/{7339fae5-e8ed-4b50-af13-317847620dbf.txt → 67e8137b-1939-4253-8f11-a82bc833cfcb.txt} +0 -0
@@ -39,6 +39,11 @@
39
39
  .gauge-number {
40
40
  font-weight: 700;
41
41
  font-size: 16px;
42
+ color: var(--dark-charcoal, #1f1f1f);
43
+ background-color: var(--true-white, #fff);
44
+ display: inline-block;
45
+ padding: 2px 8px;
46
+ border-radius: 999px;
42
47
  }
43
48
 
44
49
  .gauge-caption {
@@ -54,6 +59,7 @@
54
59
 
55
60
  .gauge-value-number {
56
61
  font-size: 24px;
62
+ color: var(--dark-charcoal, #1f1f1f);
57
63
  }
58
64
 
59
65
  .gauge-value-number.perfect-score {
@@ -18,10 +18,11 @@
18
18
  margin-bottom: 0rem;
19
19
  }
20
20
 
21
- .wcag-link {
22
- font-size: 1rem;
23
- border: 0;
24
- }
21
+ .wcag-link {
22
+ font-size: 1rem;
23
+ border: 0;
24
+ text-decoration: underline;
25
+ }
25
26
 
26
27
  .wcag-status {
27
28
  margin-bottom: 0.3rem;
@@ -12,9 +12,14 @@
12
12
  gap: 10px 18px;
13
13
  }
14
14
 
15
+ #wcagCoverage .wcag-criteria-heading {
16
+ font-size: 1.25rem;
17
+ line-height: 1.2;
18
+ }
19
+
15
20
  #wcagCoverage .wcag-grid a {
16
21
  color: var(--a11y-majorelle-blue, #5735DF);
17
- text-decoration: none;
22
+ text-decoration: underline;
18
23
  }
19
24
  #wcagCoverage .wcag-grid a:hover,
20
25
  #wcagCoverage .wcag-grid a:focus-visible {
@@ -98,7 +98,7 @@
98
98
  font-size: 0.78rem; color: #0d6efd; text-decoration: none;
99
99
  white-space: nowrap;
100
100
  }
101
- .goto-link:hover { text-decoration: underline; }
101
+ /* .goto-link:hover { text-decoration: underline; } */
102
102
  .item-message {
103
103
  display: block; font-size: 0.75rem; color: #6c757d;
104
104
  margin: 1px 0 6px; font-style: italic;