Issue Bug Closed

#104901Links with missing href are not focusable by keyboard

Ayke Halder 09/11/24, 09:32 updated 12/02/25, 14:33

Description

A link with a missing href-tag is not focusable by keyboard:

<a class="btn btn-primary" data-dispatch-action="…">{LABEL}</a>

Use button-markup instead:

<button type="button" class="btn btn-primary" data-dispatch-action="…">{LABEL}</button>

The use of href="#" to make the link focusable is discouraged.

Reviews 6

History 510

  1. Ayke Halder commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-01-08T15:35:11+00:00" > 01/08/25, 15:35 </span>

    Applied in changeset commit:32fdf4628c100604e9e3229f4cefa9b7a5df4443.