Skip to content

Commit

Permalink
fix/add accessible title and aria-label
Browse files Browse the repository at this point in the history
  • Loading branch information
mthege committed Nov 24, 2023
1 parent 3d65489 commit 5151a16
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions public/js/klaro-no-css.js
Original file line number Diff line number Diff line change
Expand Up @@ -5885,6 +5885,7 @@
changeDescription:
'There were changes since your last visit, please renew your consent.',
title: 'Cookie Consent',
accessibleTitle: 'Cookie Consent',
description:
'Hi! Could we please enable some additional services for {purposes}? You can always change or withdraw your consent later.',
learnMore: 'Let me choose',
Expand Down Expand Up @@ -7057,6 +7058,7 @@
},
consentNotice: {
title: 'Cookie-samtycke',
accessibleTitle: 'Cookie-samtycke',
changeDescription:
'Det har skett förändringar sedan ditt senaste besök, var god uppdatera ditt medgivande.',
description:
Expand Down Expand Up @@ -11036,9 +11038,11 @@
role: 'dialog',
'aria-describedby':
'id-cookie-notice',
'aria-labelledby': P
? 'id-cookie-title'
: null,
'aria-label': u([
'!',
'consentNotice',
'accessibleTitle',
]),
id: 'klaro-cookie-notice',
tabIndex: '0',
autoFocus: !0,
Expand Down

0 comments on commit 5151a16

Please sign in to comment.