Progressive Enhancement Class
Authors of HTML pages often assume JavaScript is supported and enabled in the browser. While this is usually the case, there are situations in which the client doesn't support or cannot enable it. When JavaScript is not available the functionality that remains compared with the reference page (with JS enabled) can be classified in the following classes:
- Class A
- All the essential and non-essential functionality works well. It maintains a high degree of similarity with the reference page.
- Class B
- The important functionality works well, but some non-essential functionality doesn't work. There may be minor changes of similarity with the reference page.
- Class C
- Some important functionality is not available. There may be important changes in similarity with the reference page.
- Class D
- The page shows an error, is unusable or doesn't load any content.
Authors may state their progressive enhancement class by displaying a badge on the page. The following badges are available under the CC0 license (public domain).
Badge SVG | Badge PNG | Meaning |
---|---|---|
All functionality works when JS is disabled. | ||
Non-essential functionality doesn't work. | ||
Important functionality doesn't work. | ||
Nothing works without JS enabled. |
The badge images should have a clickable link to this page, so other users can read the specification and understand what the badge means.