mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
- templates/admin/head.php: all 7 nav links (+ conditional Modifier + Déconnexion) wrapped in <ul class="admin-nav__list">/<li>; .active class removed, replaced with aria-current="page" on each <a> based on $currentPage match - Déconnexion link: removed inline style="margin-left:auto;opacity:.6;"; moved to new .admin-nav__logout <li> class in admin.css - public/assets/admin.css: replaced .admin-nav__link rules with .admin-nav__list a selectors; added .admin-nav__list (flex list, gap 2.5rem, flex:1); added .admin-nav__list a[aria-current="page"] rule (border-bottom underline indicator); added .admin-nav__logout / .admin-nav__logout a for the push-right logout item - Removes .admin-nav__link class entirely from the codebase (was only used in templates/admin/head.php and admin.css) Fixes WCAG 2.4.6 (nav landmark content model), 1.4.1 (colour-only active indicator), and section VIII of the semantic HTML admin audit.
16 KiB
16 KiB