mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-19 17:01:12 +00:00
tests(e2e): Silence heading level warning (#8659)
The problem surfaced in and after https://codeberg.org/forgejo/forgejo/pulls/8572, but the actual problem is the underlying mess of forms. A better fix would be https://codeberg.org/forgejo/forgejo/issues/8658, but I want to make playwright tests pass again. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8659 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Otto Richter <git@otto.splvs.net> Co-committed-by: Otto Richter <git@otto.splvs.net>
This commit is contained in:
parent
f4894b0edd
commit
38c83ae6e1
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ export async function validate_form({page}: {page: Page}, scope: 'form' | 'field
|
|||
// legacy dropdowns don't use semantic HTML yet,
|
||||
// avoid using these where possible
|
||||
'.ui.dropdown',
|
||||
// for some reason we use h1 to h5 for form sections,
|
||||
// and it usually makes no sense semantically
|
||||
'.ui.top.attached.header',
|
||||
];
|
||||
await accessibilityCheck({page}, [scope], excludedElements, []);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue