WEB DEV ACCESSIBILITY TIP: When Meta Refresh Sours

Keyboard with Refresh button, internet concept

Using meta refresh tags on your website pages?

Warning

If you have set a META REFRESH element with a non-zero timeout to automatically refresh the page in a certain number of seconds, this causes an unexpected interruption for screen reader users. This also takes control of the website page away from the user.

Example

<meta http-equiv=”refresh” content=”10″>

Best Practice

If you have to use a META REFRESH element, set the refresh time to zero. This will prompt an immediate redirect, and will not be perceived as a change of context.

<meta http-equiv=”refresh” content=”0″>

===

WEBSITE ACCESSIBILITY TESTING & REMEDIATION SERVICES: Mary Gillen is an experienced Website Accessibility Compliance Auditor and Remediator. She can test your website to determine if it meets accessibility standards:

WCAG 2.1: 312 checkpoints covering A, AA and AAA W3 accessibility guidelines
Section 508: 15 US federal guidelines covered by 59 accessibility checkpoints

Find out more about Mary Gillen’s Accessibility Testing & Remediation Services: Websites, PDFs, Office Docs & Videos

===

META TAGS: How Not to Use Them When Coding for Compliance

Hello I Am Waiting words on a nametag sticker to illustrate being patient, late, tardy or delayed for a trip, appointment, meeting or event

FAIL: Do not use the META tag to automatically refresh a page as this can be disorientating for users.

PASS: If the time interval is too short, people who are blind will not have enough time to make their screen readers read the page before the page refreshes unexpectedly and causes the screen reader to begin reading at the top.

Section 508 (2000) 1194.22 (p)
WCAG 2.0 F58 (Success Criteria: 2.2.1 level A)
Section 508 (2017) F58 (Success Criteria: 2.2.1 level A)

===

FAIL: Do not use META REFRESH with a non-zero timeout to automatically refresh the page, since it causes an unexpected interruption for screen reader users.

PASS: If you cannot avoid using META REFRESH, change the refresh time to zero, since the redirect is instant and will not be perceived as a change of context.

Section 508 (2000) 1194.22 (p)
WCAG 1.0 7.5
WCAG 2.0 F40 (Success Criteria: 2.2.1 level A, 2.2.4 level AAA, 3.2.5 level AAA)
Section 508 (2017) F40 (Success Criteria: 2.2.1 level A, 2.2.4 level AAA, 3.2.5 level AAA)

===

FAIL: Do not use the Refresh HTTP header to automatically refresh a page as this can be disorientating for users.

People who are blind will not have enough time to make their screen readers read the page before the page refreshes unexpectedly and causes the screen reader to begin reading at the top.

Section 508 (2000) 1194.22 (p)
WCAG 2.0 F58 (Success Criteria: 2.2.1 level A)
Section 508 (2017) F58 (Success Criteria: 2.2.1 level A)

===

WEBSITE ACCESSIBILITY TESTING & REMEDIATION SERVICES: Mary Gillen is an experienced Website Accessibility Compliance Auditor and Remediator. She can test your website to determine if it meets accessibility standards:

WCAG 2.1: 118 checkpoints covering A, AA and AAA W3 accessibility guidelines
Section 508: 15 US federal guidelines covered by 55 accessibility checkpoints

Find out more about Mary Gillen’s Accessibility Testing & Remediation Services: Websites, PDFs, Office Docs & Videos

===