doc(card): fix landmark roles link (#12018)

* doc(card): fix landmark roles link

* doc(card): fix roles links with updated w3 routes
This commit is contained in:
heavybeard
2018-07-05 23:39:28 +02:00
committed by mmalerba
parent 3e530e7820
commit 2ac5baa522
+4 -4
View File
@@ -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
@@ -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