Skip to content

Tabindex = -1 steals focus #1079

@kouralex

Description

@kouralex

It seems like clicking on any non-clickable element on the #maincontent element shifts the tab focus to the very beginning of the #maincontent element regardless of the position of clicked element (e.g., span). The culprit seems to be the tabindex setting here

<main id="maincontent" tabindex="-1">
which was added in order to improve the accessibility of the software.

This is not intended nor expected behavior as, for example, clicking on a widget + tab does not keep the focus in the clicked element (although invisibly so) as it would in normal website browsing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Proposed Skosmos 3.x issues

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions