How to Test Visible Keyboard Focus Before Website Sign-Off

Visible keyboard focus should be checked by moving through the completed website with Tab and Shift+Tab and confirming that each interactive control has an unmistakable indicator. A client should repeat the test on menus, forms, dialogs and mobile layouts before signing off. Record any control whose indicator disappears or becomes difficult to see.
Test a complete page without the mouse
Begin at the top of a representative page and press Tab repeatedly. Each link, button and form control should reveal which element currently receives keyboard input. Reverse the direction with Shift+Tab, because a control can behave differently when approached from the other side. Do not confuse hover styling with focus styling: moving a pointer over a button is not a keyboard test. Check the header, main content, footer and any floating actions. For each failure, write down the page address, the element label and the number or sequence of key presses needed to reach it. The W3C Focus Visible explanation describes WCAG 2.2 criterion 2.4.7, which requires a mode where keyboard focus is visible. The indicator need not look identical in every browser, but it must remain discernible while the control has focus. Use the website creation service as the relevant service context when preparing acceptance requirements.
Follow focus through navigation and overlays
Open every dropdown menu with the keyboard and continue through its child links. A menu may display a perfectly visible focus ring on its first item and lose it inside a nested panel. Repeat with search suggestions, accordions, cookie settings and modal dialogs. When an overlay opens, identify the first focused control and verify that the visual marker is not swallowed by the overlay background. A sticky header may also cover a focused link after scrolling. Record this as a separate obscured-focus problem instead of assuming the outline itself is missing. Compare light backgrounds, dark backgrounds and photographs, especially where the design uses a thin border as the only focus signal. Try closing the overlay and returning to the original page context. The expected result is a clear and predictable indication of the current target. Describe failures with reproducible steps rather than general feedback about accessibility or appearance.
Inspect forms, errors and custom widgets
Tab through a contact form from its first field to the submit button. Check input boxes, checkboxes, radio controls, dropdowns and file-upload actions. Trigger a validation error, then use the keyboard to correct the entry. The focused field should remain identifiable while the error message is displayed. Custom date pickers and searchable dropdowns deserve separate inspection because their inner controls can have different focus styling from the surrounding form. A disabled control may not be reachable by Tab, so absence from the sequence alone does not establish a focus-visibility failure. Test the form after submission as well, including any confirmation or error panel. Ask the developer to demonstrate the actual keyboard state in a working browser; a static design image cannot show how focus moves. For a new website, include these cases in the website creation service acceptance scope and retest after each relevant change.
Distinguish visibility, contrast and keyboard operation
A browser's default outline can be a good focus indicator when it is visible against the page. Removing it in CSS without a replacement is a frequent mistake. A custom ring may be attractive, but it needs to work against different colours and component states. Focus visibility is not identical to keyboard operability: a button may respond to Enter yet give no clue that it is selected. Conversely, a visible outline does not prove that every interaction works without a mouse. Non-text contrast is another related consideration, and W3C discusses this relationship in its focus guidance. Do not treat an automated accessibility score as a complete sign-off. Manually inspect the same controls at increased zoom and narrow viewport widths. A responsive navigation menu may use completely different elements from the desktop version. Note browser and device details in the defect report so that the development team can reproduce the behaviour reliably.
Capture evidence and verify the correction
Use a concise defect log containing the URL, control name, keyboard sequence, observed behaviour, expected behaviour and retest status. For example, pressing Tab from the last navigation link to a dark hero button might move focus correctly while leaving its outline invisible. Attach a screenshot of the focused state, not merely the normal appearance of the button. If the same shared button component fails across several pages, request a component-level fix and then retest multiple instances. Prioritise account access, enquiry, checkout and other critical journeys. Keep a dated record of what was fixed and what remains open. If an issue is deferred, identify its user impact and owner rather than silently approving it. Repeat the full sequence after visual redesigns, since a new background can make a previously visible indicator disappear. This focused review supports acceptance decisions, but it does not replace broader accessibility checks for labels, reading order, instructions and error handling.
Checklist
- Navigate using Tab and Shift+Tab
- Test dropdown menus and dialogs
- Check form validation states
- Inspect contrasting page backgrounds
- Repeat at narrow viewport widths
- Record exact keyboard reproduction steps
- Retest shared components across pages
- Save dated acceptance evidence