diff --git a/src/views/card/CardDoc.vue b/src/views/card/CardDoc.vue index fe41371b3..c85de73b9 100755 --- a/src/views/card/CardDoc.vue +++ b/src/views/card/CardDoc.vue @@ -104,6 +104,25 @@ import Card from 'primevue/card'; +
A card can be utilized in many use cases as a result no role is enforced, in fact a role may not be necessary if the card is used for presentational purposes only. + Any valid attribute is passed to the container element so if you require to use one of the landmark roles + like region, you may use the role property. +
+ +
+<Card role="region">
+ Content
+</Card>
+
+
+
+ Component does not include any interactive elements.
+None.