Skip to content

No way to unfocus comment field without the mouse #20752

Closed
@technomancy

Description

@technomancy

Description

After typing a comment, normally you want to submit it. However, pressing tab (which should move the browser focus on to the next page element) just inserts a literal tab character, which is not useful in the context of the comment entry box. Pressing escape (which is supposed to unfocus the textarea) has no effect. Thus it is necessary to use the mouse to submit a comment, which is an unfortunate accessibility bug.

Repro URL: https://try.gitea.io/technomancy/pengbot/issues/new

I have reproduced in both Firefox and Chromium.

Gitea Version

1.17.0+52-g7b04535

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?

I first noticed this on codeberg.org but made sure it was also reproducible on try.gitea.io.

Database

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/ui-interactionChange the process how users use Gitea instead of the visual appearancetype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions