Skip to content

doc(card): fix landmark roles link #12018

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

Merged
merged 2 commits into from
Jul 5, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/lib/card/card.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ used.
#### Group, region, and landmarks
There are several ARIA roles that communicate that a portion of the UI represents some semantically
meaningful whole. Depending on what the content of the card means to your application,
[`role="group"`][0], [`role="region"`][1], or [one of the landmark roles][3] should typically be
[`role="group"`][0], [`role="region"`][1], or [one of the landmark roles][2] should typically be
applied to the `<mat-card>` element.

A role is not necessary when the card is used as a purely decorative container that does not
Expand All @@ -70,6 +70,6 @@ the card content should follow normal best practices for tab order.



[0]: https://www.w3.org/TR/wai-aria/roles#group
[1]: https://www.w3.org/TR/wai-aria/roles#region
[2]: https://www.w3.org/TR/wai-aria/roles#landmark
[0]: https://www.w3.org/TR/wai-aria/#group
[1]: https://www.w3.org/TR/wai-aria/#region
[2]: https://www.w3.org/TR/wai-aria/#landmark