next.js/test/integration/client-navigation-a11y/pages/index.js
index.js22 lines600 B
import Link from 'next/link'

export default () => (
  <div id="page-container">
    <Link href="/page-with-h1-and-title" id="page-with-h1-and-title-link">
      Go to a page with a title and an h1
    </Link>

    <Link href="/page-with-h1" id="page-with-h1-link">
      Go to a page without a title but with an h1
    </Link>

    <Link href="/page-with-title" id="page-with-title-link">
      Go to a page without an h1, but with a title
    </Link>

    <Link href="/page-without-h1-or-title" id="page-without-h1-or-title-link">
      Go to a page without an h1 or a title
    </Link>
  </div>
)
Quest for Codev2.0.0
/
SIGN IN