Skip to content

Update dcf-card-as-link.js - #620

Open
cmdprompt wants to merge 3 commits into
digitalcampusframework:4.1from
cmdprompt:patch-1
Open

Update dcf-card-as-link.js#620
cmdprompt wants to merge 3 commits into
digitalcampusframework:4.1from
cmdprompt:patch-1

Conversation

@cmdprompt

Copy link
Copy Markdown

removed id code, there were no methods in here that used/required ids be present on the card or link elements. there is no reason to require it.

a clickable container with nested links is semantically confusing, should be only one link. included branch such that the decorator .dcf-card-link is not necessary ( but still supported if its present )

removed id code, there were no methods in here that used/required ids be present on the card or link elements. there is no reason to require it.

a clickable container with nested links is semantically confusing, should be only one link. included branch such that the decorator `.dcf-card-link` is not necessary ( but still supported if its present )
@skoolbus39

Copy link
Copy Markdown
Member

Card-as-link user interface based on cards described in Inclusive Components article. The author cites the example of author links as a potential use case for secondary links. In most cases a secondary link is not needed, but we've built in the option nonetheless.

@skoolbus39
skoolbus39 requested a review from ericras August 26, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants