Problem/Motivation

Since cards are often used in a context where they don't belong to the core content of the current page (e.g. "related articles" beyond the detail content of the actual article), we should be able to use div.h3 instead of h3 for a title, which IMO is currently best practice in SEO.

Steps to reproduce

Proposed resolution

Add 'div' to the components yml: https://git.drupalcode.org/project/radix/-/blob/6.0.x/components/card/card.component.yml?ref_type=heads#L26

Remaining tasks

User interface changes

API changes

Data model changes

Comments

thomas.frobieter created an issue. See original summary.

  • doxigo committed 08455e4b on 6.0.x
    Issue #3449587: Allow DIV als element for card_title_tag (SEO relevant)
    
doxigo’s picture

Status: Active » Fixed

Done

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.