Skip to content

Commit

Permalink
A11Y > add semantic role (paragraph) to disclaimer
Browse files Browse the repository at this point in the history
  • Loading branch information
nicozerr committed Oct 4, 2023
1 parent 594b0f6 commit c758628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tarteaucitron.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ var tarteaucitron = {
if (tarteaucitron.parameters.highPrivacy && !tarteaucitron.parameters.AcceptAllCta) {
html += '<div tabindex="-1" id="tarteaucitronAlertBig" class="tarteaucitronAlertBig' + orientation + '">';
//html += '<div class="tarteaucitronAlertBigWrapper">';
html += ' <span id="tarteaucitronDisclaimerAlert">';
html += ' <span id="tarteaucitronDisclaimerAlert" role="paragraph">';
html += ' ' + tarteaucitron.lang.alertBigPrivacy;
html += ' </span>';
//html += ' <span class="tarteaucitronAlertBigBtnWrapper">';
Expand All @@ -442,7 +442,7 @@ var tarteaucitron = {
} else {
html += '<div tabindex="-1" id="tarteaucitronAlertBig" class="tarteaucitronAlertBig' + orientation + '">';
//html += '<div class="tarteaucitronAlertBigWrapper">';
html += ' <span id="tarteaucitronDisclaimerAlert">';
html += ' <span id="tarteaucitronDisclaimerAlert" role="paragraph">';

if (tarteaucitron.parameters.highPrivacy) {
html += ' ' + tarteaucitron.lang.alertBigPrivacy;
Expand Down

0 comments on commit c758628

Please sign in to comment.