-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
When using Browser.application. If you have an a which doesn't have an href, Elm will generate a navigation event.
Reproduction here: https://github.com/sporto/repro-elm-application-a-tag/blob/master/src/Main.elm
This seems like a bug, a tag is not supposed to be a link unless it has a href.
https://www.w3.org/TR/html5/text-level-semantics.html#the-a-element
If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents.
If the a element has no href attribute, then the element represents a placeholder for where a link might otherwise have been placed, if it had been relevant, consisting of just the element’s contents.
reesmichael1, tekul, JoshSmithCode, Pilatch, ymtszw and 12 more
Metadata
Metadata
Assignees
Labels
No labels