Skip to content

Commit

Permalink
fix: fixed semantic headings levels in rss templates, all h3 now
Browse files Browse the repository at this point in the history
  • Loading branch information
deodorhunter committed Feb 5, 2024
1 parent 29990dc commit 19361c2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
- ...
-->

## Versione X.X.X (dd/mm/yyyy)

### Fix

- [ Accessibilità ] Migliorato l'HTML semantico per le card del blocco rss per migliorare l'esperienza d'uso con Screen Reader

## Versione 7.24.2 (11/01/2024)

### Migliorie
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const CardWithImageRssTemplate = ({
{getViewDate(item.pubDate || item.date, intl.locale)}
</span>{' '}
</div>
<CardTitle className="big-heading" tag="h6">
<CardTitle className="big-heading h6" tag="h3">
{item.title}
</CardTitle>
{item?.source?.length > 0 && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const CardWithoutImageRssTemplate = ({
</span>
)}
</div>
<CardTitle className="big-heading" tag="h5">
<CardTitle className="big-heading h6" tag="h3">
{item.title}
</CardTitle>
{item?.source?.length > 0 && (
Expand Down

0 comments on commit 19361c2

Please sign in to comment.