Date & Author
Date & Author shows when an article was published and who wrote it. It’s a lightweight line of metadata, usually placed below the headline, that gives readers quick context and helps search engines understand how fresh the content is and who wrote it.
- CSS
Maintained by Platform
Usable — may still change
Date & Author shows the publication date of an article and who wrote it. It’s a lightweight line of metadata, usually placed at the top of an article below the headline. Its main purpose is SEO: dates and author names help search engines understand how fresh content is and who wrote it. It also tells readers at a glance when the article was published and by whom.
Anatomy
Section titled “Anatomy”- Date & Author
- Date
- Author
A vertical bar separates the date from the author in the horizontal orientation. It appears only when there is an author.
When to use it
Section titled “When to use it”Use Date & Author when:
- The content is a news article, blog post or editorial piece where authorship and freshness matter.
- The article has a named author — a person or a defined editorial byline.
- SEO visibility for the content is a priority.
Avoid Date & Author when:
- The content is evergreen or has no clear single author, such as product, legal or static marketing pages.
- Space is very limited and the metadata isn’t relevant to the user’s task — inside a card preview, a shorter format such as a relative date is more appropriate.
When the author isn’t meant to be public, drop the author and keep the date. The component is optional: teams decide per content type whether to include it, but it’s recommended wherever SEO matters.
Properties
Section titled “Properties”Orientation
Horizontal (default) puts the date and author on one line, split by a vertical bar, and wraps when space runs out. Vertical stacks the author below the date, without the bar.
Show author
On by default. The author is a link to a page that lists all articles by that person. Without an author, the date stands on its own.
Content guidelines
Section titled “Content guidelines”- Use the market’s date format. The component takes whatever text it’s given; it doesn’t format the date.
- Name a person or a defined byline. Use the author’s full name, not a team or department.
Wrap the date in a <time> element with an ISO 8601 datetime attribute, and make the author a real <a> with tng-link is-neutral. The styles carry no date format — pass the text already formatted for the market. The separator between date and author is drawn by CSS and is only shown when an author follows the date.
<p class="tng-date-author"> <time datetime="2026-01-22">January 22, 2026</time> <a class="tng-link is-neutral" href="#">Name Surname</a></p>Variants
Section titled “Variants”Vertical
Section titled “Vertical”Add is-vertical to stack the author below the date. The separator is dropped.
<p class="tng-date-author is-vertical"> <time datetime="2026-01-22">January 22, 2026</time> <a class="tng-link is-neutral" href="#">Name Surname</a></p>Date only
Section titled “Date only”Leave out the author when there is none.
<p class="tng-date-author"> <time datetime="2026-01-22">January 22, 2026</time></p>Plain-text author
Section titled “Plain-text author”When there is no author page to link to, use a <span>. It takes the date’s style.
<p class="tng-date-author"> <time datetime="2026-01-22">January 22, 2026</time> <span>Name Surname</span></p>Date & Author is a line of text with an optional link. It follows no single WAI-ARIA pattern and meets WCAG 2.1 AA through plain semantics: the date is a machine-readable <time>, the author is a real link, and the separator between them stays out of the accessibility tree, so a screen reader hears the date and the author as two separate items.
For designers
Section titled “For designers”- The date, the separator and the author must keep a contrast of at least 4.5:1 against every surface they sit on. The subtle foreground tokens are chosen for that. Source: WCAG 1.4.3 Contrast (Minimum).
- The author link is told apart from the date by its underline as well as its colour. Source: WCAG 1.4.1 Use of Color.
For developers
Section titled “For developers”- Wrap the date in
<time datetime="…">with an ISO 8601 value, such as2026-01-22, so machines read the date regardless of how it’s formatted for display. - Use a real
<a href="…">for the author, never a<span>or<div>with a click handler. It is the component’s only tab stop and follows the reading order after the headline. Source: WCAG 2.1.1 Keyboard. - A link name such as “View all articles by Name Surname” is clearer out of context than the bare name. If you set one with
aria-label, keep the visible name in it. Source: WCAG 2.5.3 Label in Name. - Don’t add a separator in the markup. The CSS draws it with empty alternative text, so it isn’t read out as “vertical bar”.
- Expose the author and publication date in the page’s structured data (schema.org
Article) as well, since the component’s main goal is SEO.