Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(list): fix role for list-item #8767

Merged
merged 1 commit into from
Dec 4, 2017

Conversation

tinayuangao
Copy link
Contributor

@tinayuangao tinayuangao commented Dec 1, 2017

The role for mat-list-item should not be set. User of mat-list-item should set the role.

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Dec 1, 2017
@@ -134,6 +134,7 @@ export class MatListItem extends _MatListItemMixinBase implements AfterContentIn
CanDisableRipple {
private _lineSetter: MatLineSetter;
private _isNavList: boolean = false;
role: string | null = null;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this one be underscored?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Thanks for review

Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@crisbeto crisbeto added pr: lgtm action: merge The PR is ready for merge by the caretaker and removed pr: needs review labels Dec 1, 2017
@tinayuangao tinayuangao force-pushed the fix-list-a11y branch 3 times, most recently from bfec9b6 to 805275e Compare December 1, 2017 23:23
@tinayuangao tinayuangao requested a review from amcdnl as a code owner December 4, 2017 18:32
@tinayuangao tinayuangao merged commit 8f7c7cf into angular:master Dec 4, 2017
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants