Skip to content

Commit 80998b2

Browse files
Add background info to meta refresh rules (act-rules#2159)
Co-authored-by: Jean-Yves Moyen <jym@siteimprove.com>
1 parent 25aa483 commit 80998b2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

_rules/meta-refresh-no-delay-bc659a.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ Not all major web browsers parse the value of the `content` attribute in the sam
6161

6262
## Background
6363

64+
The `meta http-equiv="refresh"` directive is an HTML tag used to instruct browsers to automatically refresh or reload a web page after a specified time interval. This can be useful for updating content dynamically or redirecting users to another page.
65+
66+
The `content` attribute in the `meta http-equiv="refresh"` directive is used to define the time interval, in seconds, after which the browser should automatically refresh or reload the web page. For example, `content="5"` would instruct the browser to refresh the page every 5 seconds. Careful consideration of the refresh interval is crucial to ensure optimal user experience and accessibility, particularly for individuals who may require more time to consume or interact with web content.
67+
6468
Because a refresh with a timing of 0 is a redirect, it is exempt from this rule. Since this can cause rapid screen flashes it is strongly recommended to avoid this.
6569

6670
### Bibliography

_rules/meta-refresh-no-delay-no-exception-bisz58.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ Not all major web browsers parse the value of the `content` attribute in the sam
6161

6262
## Background
6363

64+
The `meta http-equiv="refresh"` directive is an HTML tag used to instruct browsers to automatically refresh or reload a web page after a specified time interval. This can be useful for updating content dynamically or redirecting users to another page.
65+
66+
The `content` attribute in the `meta http-equiv="refresh"` directive is used to define the time interval, in seconds, after which the browser should automatically refresh or reload the web page. For example, `content="5"` would instruct the browser to refresh the page every 5 seconds. Careful consideration of the refresh interval is crucial to ensure optimal user experience and accessibility, particularly for individuals who may require more time to consume or interact with web content.
67+
6468
Because a refresh with a timing of 0 is effectively a redirect, it is exempt from this rule. Since refreshing the same page with a time of 0 can cause rapid screen flashes it is strongly recommended to avoid this.
6569

6670
### Bibliography

0 commit comments

Comments
 (0)