Skip to content

Align post-linkarea and card documentation and behavior #6111

@leagrdv

Description

@leagrdv

In the card documentation, we have this banner (copied from figma):

Do not place more than one interactive element on an interactive card. If your card should contain more than one action, consider using a non-interactive card which can contain multiple different actionable/interactive elements.

But on the post-linkarea documentation, the main example has two links in it, and the documentation states that clicking on the area will click on the first link, unless a data-link is provided.

Tasks:

  • Remove the data-link attribute logic from the post-linkarea and its documentation
  • Output an error if there is more than one link inside a post-linkarea
  • Update the documentation to show an simpler example not using the card classes and with only one link

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

🚀 Done

Relationships

None yet

Development

No branches or pull requests

Issue actions