[wp-trac] [WordPress Trac] #48534: searchfor and related pushbutton: focusable element may be missing focus styling
WordPress Trac
noreply at wordpress.org
Fri Nov 8 04:01:08 UTC 2019
#48534: searchfor and related pushbutton: focusable element may be missing focus
styling
---------------------------+-----------------------------
Reporter: arush | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Keywords:
Focuses: accessibility |
---------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48534>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list