Skip to content

Commit

Permalink
fix: better a11y for social links
Browse files Browse the repository at this point in the history
  • Loading branch information
deodorhunter committed Feb 5, 2024
1 parent b6ff543 commit b66be94
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 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à ] Reso il link ai diversi social elencati parlante, ora viene riportato "Seguici su nome_del_social"

## Versione 7.24.2 (11/01/2024)

### Migliorie
Expand Down
6 changes: 3 additions & 3 deletions src/components/ItaliaTheme/Header/SocialHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ const SocialHeader = () => {
{socials?.map((social, idx) => (
<li key={idx}>
<a
title={
social.title + ' ' + intl.formatMessage(messages.socialOpen)
}
title={`${intl.formatMessage(messages.followUs)} ${
social.title
} ${intl.formatMessage(messages.socialOpen)}`}
href={social.url}
target="_blank"
rel="noopener noreferrer"
Expand Down

0 comments on commit b66be94

Please sign in to comment.