Skip to content

Accessibility - Tab order is wrong on creating an issue (tabindex) #26731

Closed
@TDesjardins

Description

@TDesjardins

Description

When navigating with keyboard when creating an issue the tab order isn't plausible. I expect after editing the title the next tab is the description text area or the tabpanel but it jumps to somewhere else and the next targets are the menu items.

Strange settings of tabindex attributes on different DOM elements are the cause. A best practice is to not set the tabindex > 0 and using the natural DOM order.

Gitea Version

1.20.2

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

run from docker but doesn't matter

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/accessibilityThis issue/pull request wants to improve the accessibilitytype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions