Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

#762
Merged
mgechev merged 1 commit into
mgechev:mastermgechev/codelyzer:masterfrom
mohammedzamakhan:heading-should-have-contentCopy head branch name to clipboard
Feb 27, 2019
Merged

feat(rule): heading element should have content#762
mgechev merged 1 commit into
mgechev:mastermgechev/codelyzer:masterfrom
mohammedzamakhan:heading-should-have-contentCopy head branch name to clipboard

Conversation

@mohammedzamakhan

Copy link
Copy Markdown
Contributor

Comment thread src/templateAccessibilityHeadingContentRule.ts Outdated
@mgechev

mgechev commented Feb 13, 2019

Copy link
Copy Markdown
Owner

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

@mgechev

mgechev commented Feb 15, 2019

Copy link
Copy Markdown
Owner

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

@mohammedzamakhan

Copy link
Copy Markdown
Contributor Author

@mgechev Done

@wKoza wKoza left a comment

Copy link
Copy Markdown
Collaborator

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

Comment thread src/templateAccessibilityElementsContentRule.ts Outdated
Comment thread src/templateAccessibilityElementsContentRule.ts Outdated

@wKoza wKoza left a comment

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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
Copy Markdown
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

mgechev commented Feb 21, 2019

Copy link
Copy Markdown
Owner

Let's merge #754 first.

@mohammedzamakhan

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.