Skip to content

Commit

Permalink
feat(accessibility): added missing <legend>-elements to form fields…
Browse files Browse the repository at this point in the history
…ets (#1694)
  • Loading branch information
LucasHengelhaupt committed Sep 4, 2024
1 parent 2908af9 commit 79dd9e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ describe('Fieldset Field Component', () => {

it('should contain a legend in a fieldset', () => {
fixture.detectChanges();
expect(element.querySelector('fieldset > div > legend')).toBeTruthy();
expect(element.querySelector('fieldset > legend')).toBeTruthy();
});

it('should contain a legend class in a fieldset', () => {
Expand Down

0 comments on commit 79dd9e0

Please sign in to comment.