---
url: "https://www.w3.org/WAI/WCAG22/Techniques/failures/F55"
titulek: "F55: Failure of Success Criteria 2.1.1, 2.4.7, 2.4.13, and 3.2.1 due to using script to remove focus when focus is received | WAI | W3C"
h1: "Technique F55:Failure of Success Criteria 2.1.1, 2.4.7, 2.4.13, and 3.2.1 due to using script to remove focus when focus is received"
popis: ""
jazyk: "en"
kanonicka: ""
drobecky: []
zdroj: "live"
wayback_snapshot: ""
stazeno: "2026-09-14 05:32:17"
znaku: 1977
slov: 252
kodovani: "utf-8"
sha256: "4300b656bc03187e85018a55278c7ded9f697885c980ccdb130dc749aa421fa9"
---
# Technique F55:Failure of Success Criteria 2.1.1, 2.4.7, 2.4.13, and 3.2.1 due to using script to remove focus when focus is received
## About this Technique
This technique relates to:
- [2.1.1 Keyboard](https://www.w3.org/WAI/WCAG22/Understanding/keyboard) ( **Failure** )
- [2.4.7 Focus Visible](https://www.w3.org/WAI/WCAG22/Understanding/focus-visible) ( **Failure** )
- [2.4.13 Focus Appearance](https://www.w3.org/WAI/WCAG22/Understanding/focus-appearance) ( **Failure** )
- [3.2.1 On Focus](https://www.w3.org/WAI/WCAG22/Understanding/on-focus) ( **Failure** )
This failure applies to all content that supports script.
Failure techniques show examples of how content can fail particular WCAG success criteria. However, content may still satisfy those criteria if it includes equivalent/alternative content or functionality that **does** meet the normative requirements. See [About WCAG Techniques](https://www.w3.org/WAI/WCAG22/Techniques/about).
## Description
Content that normally receives focus when the content is accessed by keyboard may have this focus removed by
scripting. This is sometimes done when designer considers the system focus indicator to be unsightly. However,
the system focus indicator is an important part of accessibility for keyboard users. In addition, this practice
removes focus from the content entirely, which means that the content can only be operated by a pointing device
such as a mouse.
## Examples
### Example 1
```
```
### Example 2
```
```
### Example 3
```
Link Phrase
```
## Tests
### Procedure
1. Use the keyboard to verify that you can get to all interactive
elements using the keyboard.
2. Check that when focus is placed on each element, focus remains
there until user moves it.
### Expected Results
- If #2 is false then this failure condition applies and content
fails the Success Criterion.
Back to Top