Open TERRORW0LF opened 2 days ago
Describe the bug When placing links with the A component inside a nested route the aria-current attribute does not get set on client side navigation.
A
Leptos Dependencies
leptos = { version = "0.7.0-rc1", features = ["nightly"] } leptos_axum = { version = "0.7.0-rc1", optional = true } leptos_meta = { version = "0.7.0-rc1" } leptos_router = { version = "0.7.0-rc1", features = ["nightly"] }
To Reproduce Steps to reproduce the behavior:
cargo leptos watch
a
aria-current="page"
Expected behavior The aria-current="page" attribute gets applied to the a tag of the current contact
FYI: Just came across a variation of this bug in 0.6.15 as well - but for me it sets the current attribute on both A tags
Describe the bug When placing links with the
A
component inside a nested route the aria-current attribute does not get set on client side navigation.Leptos Dependencies
To Reproduce Steps to reproduce the behavior:
cargo leptos watch
a
tagaria-current="page"
attribute is not thereExpected behavior The
aria-current="page"
attribute gets applied to thea
tag of the current contact