From e61672e22fbaecc47a9f8008a8b3df45f94b6306 Mon Sep 17 00:00:00 2001 From: Alexis Fontaine Date: Tue, 28 Nov 2023 19:38:16 +0100 Subject: [PATCH] fix: invalid attribute value for `aria-current` --- router/src/components/link.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/src/components/link.rs b/router/src/components/link.rs index 8f947ffb6d..56d739c4d8 100644 --- a/router/src/components/link.rs +++ b/router/src/components/link.rs @@ -217,7 +217,7 @@ where target=target prop:state=state.map(|s| s.to_js_value()) prop:replace=replace - aria-current=move || if is_active.get() { Some("a") } else { None } + aria-current=move || if is_active.get() { Some("page") } else { None } class=class id=id >