All script files are reachable
highbroken_scripts
Checks that all script files are reachable.
What does this rule check?
Verifies that all external JavaScript files referenced in the page return HTTP 200. Broken script references cause JavaScript errors, broken functionality, and console errors.
Why is this important?
Broken JavaScript files can break entire page functionality, forms, navigation, and interactive features. They also generate console errors that degrade the user experience.
How to fix
Fix or remove broken script references. Update URLs to the correct paths. Verify CDN availability.
Examples
Incorrect
<script src="/js/old-bundle.js"></script>
<!-- Returns 404 - functionality broken -->
Correct
<script src="/js/bundle.js"></script>
<!-- Returns 200 - all working -->
Agent fix snippet
Copy this snippet and paste it into your AI coding agent to fix this issue automatically.
Find and fix broken script references:
1. Check each <script src="..."> URL
2. Update paths to correct locations
3. Remove references to deleted scripts
4. Verify CDN URLs are correct