Using <button> versus <nolink>

Created on 29 September 2025, 13 days ago

Does the module work with <button> as the link? It works ok with <nolink>. Using v8.x-2.4 in core 11.2.4.

I have website navigation with a top-level item that has no page. It only triggers the dropdown. I tried using <button> but noticed anonymous users still see it, even though I set permissions for them not to.

When I switched <button> to <nolink> it was indeed hidden. But it seems I can't use <button>, which I believe is better for accessibility purposes.

✨ Feature request
Status

Active

Version

2.4

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States yospyn

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024