diff --git a/playwright/tests/404page.spec.js b/playwright/tests/404page.spec.js index 4c37a1ea8..46a15d343 100644 --- a/playwright/tests/404page.spec.js +++ b/playwright/tests/404page.spec.js @@ -15,7 +15,7 @@ test.describe('404 Error Page', () => { await expect(page.locator('form#search_form')).toBeVisible() - await expect(page.locator('.va-quicklinks--commpop')).toBeVisible() + await expect(page.locator('h3 >> nth=1')).toHaveText('Common Questions') }) test('Should render without a11y accessibility errors', async ({ diff --git a/src/pages/404.tsx b/src/pages/404.tsx index de0163483..b0e8e464b 100644 --- a/src/pages/404.tsx +++ b/src/pages/404.tsx @@ -15,39 +15,52 @@ const Error404Page = ({ headerFooterData }) => { VA.gov | Veterans Affairs -
+
-
+

Sorry — we can’t find that page

Try the search box or one of the common questions below.

-
+
-
- +
+ - +
- -
+ + ) diff --git a/src/templates/common/commonAndPopular/index.tsx b/src/templates/common/commonAndPopular/index.tsx index 9696f788c..f4b2f37bc 100644 --- a/src/templates/common/commonAndPopular/index.tsx +++ b/src/templates/common/commonAndPopular/index.tsx @@ -2,21 +2,23 @@ import Link from 'next/link' export function CommonAndPopular() { return ( -
+
-

Common Questions

-
    -
  • +

    + Common Questions +

    +
      +
    • How do I apply for health care?
    • -
    • +
    • How do I file for disability benefits?
    • -
    • +
    • How do I apply for education benefits? @@ -24,20 +26,22 @@ export function CommonAndPopular() {
-

Popular on VA.gov

-
    -
  • +

    + Popular on VA.gov +

    +
      +
    • Find nearby VA locations
    • -
    • +
    • View education benefits available by school
    • -
    • +