Skip to content

Unconfed /admin/tool isn't keyboard navigable  #199

@thomasheartman

Description

@thomasheartman

Problem

The default landing page (/admin/tool; pictured below) isn't keyboard navigable. In other words: a user can't tab themselves to either the 'Create admin user' or the '... or log in without a user' elements. This is reproducible in at least Firefox and Google Chrome on Linux (and presumably other OSes)

The landing page in question:
the default login screen

Discussion / Context

This was briefly discussed in the internal Slack, where @hjelmevold mentioned that the <a> tags are missing href attributes. Adding this would presumably make them tabbable. However, because they don't take you to a different URL, they could also potentially be buttons. @alansemenov says that (paraphrased) the top one should be a button, while the lower can be either a button or a link. It seems to me that the lower should also be a button, but I'm admittedly not an expert in this at all. I'd be curious to see the arguments for both, though.

Cheers!

Metadata

Metadata

Assignees

Labels

ImprovementSuggestion for improvement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions