Make WordPress Core

Opened 10 days ago

Last modified 3 days ago

#48534 new defect (bug)

searchfor and related pushbutton: focusable element may be missing focus styling

Reported by: arush Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.3
Component: Themes Keywords: reporter-feedback
Focuses: accessibility Cc:
PR Number:


Any element that can receive keyboard focus should have visible styling that indicates when the element is focused. You can do this with the :focus CSS pseudo-class.
Standard focusable elements such as links and input fields are given special styling by the browser by default, so you might not need to specify focus styling for such elements, unless you want the focus styling to be more distinctive.
If you create your own focusable components, be sure that you also define focus styling for them.

Change History (2)

#1 @SergeyBiryukov
10 days ago

  • Keywords reporter-feedback added

Hi @arush, thanks for the ticket!

It's not quite clear from the description which component the issue refers to. Is this about the Twenty Twenty theme?

This ticket was mentioned in Slack in #accessibility by afercia. View the logs.

3 days ago

Note: See TracTickets for help on using tickets.