Websites & patient experience · Website help · Keyboard and focus

Keep focus predictable when details expand

An expandable details panel may steal focus into its body or leave keyboard users unaware of its new content. Inconsistent expansion makes even simple help difficult to explore.

What to change

Agree a consistent disclosure pattern in which the trigger identifies its state and the newly available content follows logically.

A worked example

Illustrative example

Expanding travel information leaves the visitor at its labelled trigger, then allows reading or tabbing into the revealed directions in the normal order.

How to check the result

Accept when expansion and collapse do not unexpectedly relocate the visitor, and hidden panel controls are absent from keyboard navigation.

A mistake to avoid

Automatically focusing the first link inside every expanded panel can skip introductory information or surprise someone merely inspecting the section.

Your action checklist

Use these checks to prepare a discussion with your team or supplier. Tick a check when you have recorded the decision or evidence, rather than when a feature has simply been promised.

Decisions to record

Entries stay in this page and are not submitted to Kay & Co. Download your notes before leaving; the page does not save them.

Healthcare website design showing connected desktop and mobile service and enquiry layouts.
Make the service and next step clear on every screen.
Healthcare website accessibility illustrated by a focus outline, keyboard key, contrast samples and form.
Review keyboard access, contrast and understandable form fields.
Healthcare website testing with desktop and mobile forms, a checklist and success and error states.
Check complete journeys and explain failures clearly.

Further reading

These primary sources provide additional context for the project decisions above.

Related decisions

Turn the brief into a working service

Kay & Co. can help you scope the work, design the experience and deliver the right solution for your organisation.

Explore websites & patient experience services or discuss your project.

Try the free Healthcare Digital Planner to find your starting priority.