-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(rule): heading element should have content #762
feat(rule): heading element should have content #762
Conversation
It makes sense to merge this rule with the anchor one, same functionality? |
@mohammedzamakhan looks good! Would you fix the failures and we can merge! |
@mgechev Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few comments and LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @mohammedzamakhan for your contributions ! just 2 little changes and LGTM !
}); | ||
}); | ||
|
||
it('should fail with no content in anchor tag', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the title isn't correct
<a>Anchor Content!</a> | ||
<a><app-content></app-content></a> | ||
<a [innerHTML]="dangerouslySetHTML"></a> | ||
<a [innerText]="text"></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a test with the button
Let's merge #754 first. |
@mgechev can you merge this? |
https://dequeuniversity.com/rules/axe/1.1/empty-heading