Allow DIV als element for card_title_tag (SEO relevant)

Created on 24 May 2024, 8 months ago
Updated 7 June 2024, 7 months ago

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

📌 Task
Status

Fixed

Version

6.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024