Fixed accessibility issues about header ordering

(cherry picked from commit 5566c99625)
This commit is contained in:
Alexandre Vryghem
2023-12-03 17:43:16 +01:00
committed by github-actions[bot]
parent 3300f72621
commit 7ec57988b8
58 changed files with 116 additions and 105 deletions

View File

@@ -171,7 +171,7 @@ describe('ItemDeleteComponent', () => {
});
it('should render a page with messages based on the \'delete\' messageKey', () => {
const header = fixture.debugElement.query(By.css('h2')).nativeElement;
const header = fixture.debugElement.query(By.css('h1')).nativeElement;
expect(header.innerHTML).toContain('item.edit.delete.header');
const description = fixture.debugElement.query(By.css('p')).nativeElement;
expect(description.innerHTML).toContain('item.edit.delete.description');