Automagic focus

On this page, we've added a yellow outline to the focused element.

Keyboard support is always a work in progress, but we have a system to ensure that something is in theory always focused. Note that there is no default focus, but you can set the default focus with the HTML autofocus attribute.

In Notifications and Asides, we'll always attempt to focus something even if we can't find any element with the autofocus attribute. Click the buttons to see.

  • TODO: Note about focus on mobile device!

    If you find a bug or need a feature…

  • Create GitHub Issue…