Fix / header navigation list (accessibility) #602
Annotations
2 errors and 1 warning
src/containers/Layout/Layout.test.tsx > <Layout /> > renders layout:
packages/ui-react/src/containers/Layout/Layout.test.tsx#L20
Error: Snapshot `<Layout /> > renders layout 1` mismatched
- Expected
+ Received
@@ -44,19 +44,23 @@
</div>
</div>
<nav
class="_nav_f4f7a7"
>
- <a
- aria-current="page"
- class="_button_f8f296 _default_f8f296 _text_f8f296 _active_f8f296 _headerButton_c71437"
- href="/"
- >
- <span>
- home
- </span>
- </a>
+ <ul>
+ <li>
+ <a
+ aria-current="page"
+ class="_button_f8f296 _default_f8f296 _text_f8f296 _active_f8f296 _navButton_f4f7a7"
+ href="/"
+ >
+ <span>
+ home
+ </span>
+ </a>
+ </li>
+ </ul>
</nav>
<div
class="_actions_f4f7a7"
/>
</div>
❯ src/containers/Layout/Layout.test.tsx:20:23
|
test (18.x)
Process completed with exit code 1.
|
test (18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|