(frontend) improve accessibility of global docs home link at top

moved aria-label and added aria-hidden for better accessibility

Signed-off-by: Cyril <c.gromoff@gmail.com>
This commit is contained in:
Cyril
2025-08-06 14:55:20 +02:00
parent afbacb0a24
commit e07f709dd4
4 changed files with 12 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ test.describe('Header', () => {
const header = page.locator('header').first();
await expect(header.getByLabel('Back to homepage')).toBeVisible();
await expect(header.getByTestId('header-logo-link')).toBeVisible();
await expect(header.locator('h1').getByText('Docs')).toHaveCSS(
'font-family',
/Roboto/i,