diff --git a/docs/src/components/CustomLogo.astro b/docs/src/components/CustomLogo.astro index 04264297e1b..16abf6f0809 100644 --- a/docs/src/components/CustomLogo.astro +++ b/docs/src/components/CustomLogo.astro @@ -10,8 +10,8 @@ const lightLogoUrl = `data:image/svg+xml;base64,${Buffer.from(lightLogoSvg).toSt const initialLogoUrl = darkLogoUrl; --- - - + + GitHub Agentic Workflows diff --git a/docs/tests/site-title-accessibility.spec.ts b/docs/tests/site-title-accessibility.spec.ts new file mode 100644 index 00000000000..5b185e847db --- /dev/null +++ b/docs/tests/site-title-accessibility.spec.ts @@ -0,0 +1,9 @@ +import { expect, test } from "@playwright/test"; + +test("mobile home logo link has an accessible name", async ({ page }) => { + await page.setViewportSize({ width: 390, height: 844 }); + await page.goto("/gh-aw/"); + await page.waitForLoadState("networkidle"); + + await expect(page.locator("a.site-title").first()).toHaveAccessibleName("GitHub Agentic Workflows home"); +});