Skip to content
Snippets Groups Projects
Commit e13674d5 authored by Marlène SIMONDANT's avatar Marlène SIMONDANT
Browse files

Fix(accessibility) : add aria-hidden to emojis

parent be8c3a42
No related branches found
No related tags found
No related merge requests found
Pipeline #123883 passed
......@@ -79,6 +79,8 @@ export class PostsService {
// Accessibility : replace "Download" by "Télécharger"
postData.html = postData.html.replace('title="Download"', 'title="Télécharger"');
// Accessibility : add aria-hidden to emojis
postData.html = postData.html.replace('-emoji">', '-emoji" aria-hidden="true">');
return postData;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment