Avoid the use of blinking text, objects, or other elements.
Rationale
Text and objects that flicker or flash can cause epileptic seizures in susceptible individuals, particularly if the flash has a high intensity and is within certain frequency ranges. This includes flashing text or graphics on and off or repeatedly changing between different images on the screen.
Development techniques
Use one or more of the following techniques to meet Checkpoint 5.2 from the IBM Java Accessibility Checklist:
- Use elements which do not blink or flicker.
- If the application must use blinking elements, use frequencies that are less than 2Hz or greater than 55Hz.
- Enable users to control the blinking rate through system settings. Windows allows users to customize the cursor blink rates through the Control Panel Accessibility Options. Developers can access these settings through the GetCaretBlinkTime function to emulate the system's cursor blink rate for custom cursors or for customized user interface elements. For more information on this technique, see "Flashing User Interface and the GetCaretBlinkTime Function" (link resides outside of ibm.com) from Microsoft.
The techniques above are required; the following techniques are recommended to enhance accessibility:
- Minimize the area of the screen which is flashing. Smaller areas are less likely to cause seizures.
- Avoid flashing which has a high level of contrast between the states. Some individuals are more susceptible to high intensity flashing.
Testing techniques
Test the software to ensure that it complies with accessibility requirements.
Tools
A program that displays the time interval between blinking or flashing text may be required if the application uses flashing elements.
Windows techniques
The following techniques are required to verify this checkpoint:
| Action | Result | |
|---|---|---|
| 1 | Manually verify that the software does not use blinking or flashing elements. |
Pass:
The software does not implement blinking text or objects. Fail: The software displays blinking text or objects. If the software has blinking elements, perform the next test to see if the blinking is between the range of 2Hz to 55 Hz. If the blink is in that range, the software is not accessible. |
| 2 | Display the blinking elements in the software.
Manually measure the interval between the major contrast transitions (i.e., light to dark, on to off, etc.) with a stop watch
or run a program that measures the time intervals between the blinking or flickering content. |
Pass: The time interval of the blinking text is less than 2 Hz or greater than 55 Hz. Fail: The time interval of the blinking text is between 2 Hz and 55 Hz. This interval can cause photosensitive epileptic seizures in susceptible individuals. |
©2001, 2008 IBM Corporation
Last updated February 15, 2008.
