Skip to main content

Module focus

Module focus 

Source
Expand description

Focus Ring Indicators

Provides visible focus indicators for keyboard navigation accessibility. Focus rings appear when UI elements receive keyboard focus.

Functions§

draw_focus_ring
Draw a focus ring around a response if it has keyboard focus.
focus_ring_color
The focus ring colour: the applied theme’s ui.focus, or the selection stroke when no theme has been applied.