diff --git a/README.md b/README.md index e58c06b..ce4ecb2 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ A Nuxt 4 layer that renders a menu of the SummerCMS menu plugin as an accessible site navigation. ```bash -pnpm add git+https://git.golem15.com/golem15/vue-menu-layer.git#v0.1.0 +pnpm add git+https://git.golem15.com/golem15/vue-menu-layer.git#v0.2.0 ``` ## Overview @@ -20,6 +20,7 @@ The layer is neutral: it ships no site colours, no site copy and no Nuxt modules - **Active state**: the entry whose URL path equals the current route path (decoded, query, hash and trailing slash ignored; an absolute URL only on the request host) gets `aria-current="page"` and `menu-nav__link--active`; its ancestors get `menu-nav__item--trail`. - **Dividers**: `aria-hidden` list items, a horizontal line in panels and a short vertical line at the top level on the desktop. - **Empty states**: a missing menu (404), a failed request or a menu without entries renders nothing, or the `#fallback` slot. There is never an empty `