Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
Resin
Server
Commits
e13674d5
Commit
e13674d5
authored
8 hours ago
by
Marlène SIMONDANT
Browse files
Options
Downloads
Patches
Plain Diff
Fix(accessibility) : add aria-hidden to emojis
parent
be8c3a42
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#123883
passed
8 hours ago
Stage: test
Stage: build
Stage: deploy
Stage: quality
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/posts/posts.service.ts
+2
-0
2 additions, 0 deletions
src/posts/posts.service.ts
with
2 additions
and
0 deletions
src/posts/posts.service.ts
+
2
−
0
View file @
e13674d5
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment