Fixed accessibility issues about header ordering

This commit is contained in:
Alexandre Vryghem
2023-12-03 17:43:16 +01:00
parent 30fe424cc5
commit 5566c99625
58 changed files with 116 additions and 105 deletions

View File

@@ -74,7 +74,7 @@ describe('ItemPublicComponent', () => {
});
it('should render a page with messages based on the \'public\' 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.public.header');
const description = fixture.debugElement.query(By.css('p')).nativeElement;
expect(description.innerHTML).toContain('item.edit.public.description');