Accessibility fixes

Created on 17 May 2024, 7 months ago
Updated 21 June 2024, 6 months ago

Problem/Motivation

To be accessible and RGAA compliant you have to :
- add aria-hidden=true to the social icons, as they are decorative
- add aria-label on copy link and print button
- make the copy link button focusable with keyboard and trigger copy link event by hitting Enter
- keep focus on copy link button after keyboard triggered event

Proposed resolution

Edit better-social-sharing-buttons.html.twig to :
- add aria-hidden=true to svg icons
- add titles on copy and link button print button
- add social-sharing-buttons__butto class
Edit copy-current-url.js to add keyboard triggered behavious
Edit css to addapt styles

✨ Feature request
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡«πŸ‡·France joachim desarmenien Bordeaux

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024