Skip to content
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

Merged
merged 1 commit into from
Feb 27, 2019
Merged

feat(rule): heading element should have content #762

merged 1 commit into from
Feb 27, 2019

Conversation

mohammedzamakhan
Copy link
Contributor

@mgechev
Copy link
Owner

mgechev commented Feb 13, 2019

It makes sense to merge this rule with the anchor one, same functionality?

@mgechev
Copy link
Owner

mgechev commented Feb 15, 2019

@mohammedzamakhan looks good! Would you fix the failures and we can merge!

@mohammedzamakhan
Copy link
Contributor Author

@mgechev Done

Copy link
Collaborator

@wKoza wKoza left a 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

src/templateAccessibilityElementsContentRule.ts Outdated Show resolved Hide resolved
src/templateAccessibilityElementsContentRule.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@wKoza wKoza left a 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', () => {
Copy link
Collaborator

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>
Copy link
Collaborator

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

@mgechev
Copy link
Owner

mgechev commented Feb 21, 2019

Let's merge #754 first.

@mohammedzamakhan
Copy link
Contributor Author

@mgechev can you merge this?

@mgechev mgechev merged commit 865ec3b into mgechev:master Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants