The Site Should Still Work Without JavaScript
Introduction
JavaScript may fail to load due to network issues, content blockers, script errors, or users may disable it intentionally due to security, privacy, accessibility, or performance concerns.
Decision
The site will be implemented to ensure it remains as functional as possible without JavaScript enabled. Menus and site navigation should be operable using standard HTML.
Context
A functional site without JavaScript ensures accessibility for users with disabilities, resilience against network issues or content blockers, and compliance with usability standards. It also supports progressive enhancement and addresses security and privacy concerns for users who disable JavaScript. Menus and navigation, as core elements, must be accessible under all conditions.
Consequences
- Increased time and resource investment for development and testing.
- Certain complex interactive features, such as dynamic filtering or real-time updates, may have limited or no fallback functionality.
- Alternative menu may need to be provided since dropdown and expanding menu functions rely on JavaScript.
Exceptions
- Administrative interfaces, dashboards, or tools targeted at internal users.
- Third-party integrations or widgets.
- Authentication systems requiring client-side validation for security purposes.
Additional Resources
None