update accessiblity:

This commit is contained in:
somrat sorkar
2024-02-04 15:35:38 +06:00
parent eac711191d
commit 394552d666
6 changed files with 9 additions and 7 deletions
+1
View File
@@ -75,6 +75,7 @@ const { pathname } = Astro.url;
<li class="nav-dropdown-item">
<a
href={child.url}
aria-label={child.name}
class={`nav-dropdown-link block ${
(pathname === `${child.url}/` ||
pathname === child.url) &&