This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 27d7d511bb3578cc2702ce728346a8064b070b9d Author: jcouteau <couteau@codelutin.com> Date: Wed Nov 14 09:19:17 2018 +0100 Finish fixing some aria stuff - Alt on all images and title on frames --- pollen-ui-riot-js/src/main/web/i18n/en.json | 7 ++++++- pollen-ui-riot-js/src/main/web/i18n/fr.json | 7 ++++++- pollen-ui-riot-js/src/main/web/tag/HeaderI18n.tag.html | 4 ++-- pollen-ui-riot-js/src/main/web/tag/Privacy.tag.html | 3 ++- pollen-ui-riot-js/src/main/web/tag/components/Avatar.tag.html | 3 ++- pollen-ui-riot-js/src/main/web/tag/poll/Choice.tag.html | 4 ++-- pollen-ui-riot-js/src/main/web/tag/poll/ChoiceView.tag.html | 2 +- .../src/main/web/tag/popup/ChoiceDetailModal.tag.html | 3 ++- 8 files changed, 23 insertions(+), 10 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/i18n/en.json b/pollen-ui-riot-js/src/main/web/i18n/en.json index 3661ab30..649ec254 100644 --- a/pollen-ui-riot-js/src/main/web/i18n/en.json +++ b/pollen-ui-riot-js/src/main/web/i18n/en.json @@ -268,6 +268,8 @@ "header_signout": "Disconnect", "header_home": "Home", "header_i18n_lang": "Language", + "header_i18n_uk_flag": "United Kingdom flag", + "header_i18n_fr_flag": "France flag", "header_myProfile": "My profile", "header_myPolls": "My polls", "header_myInvitedPolls": "Invited polls", @@ -499,6 +501,8 @@ "choice_download": "Download", "choice_fileSizeMax_title": "File to big", "choice_fileSizeMax_message": "File \"{0}\" for size {1} can't be over {2}.", + "choice_imagePreview": "Image preview", + "choice_originalFilePreview": "Original file preview", "favoriteList_title": "My favorite lists", "favoriteList_one": "{0} favorite list", "favoriteList_many": "{0} favorite lists", @@ -683,5 +687,6 @@ "emailAddressList_savePgpPublicKey": "save the key", "emailAddressList_sendPgpPublicKey": "send the key", "emailAddressList_updatedPgpPublicKey": "the PGP public key is save with success.", - "emailAddressList_removedPgpPublicKey": "the PGP public key is remove with success." + "emailAddressList_removedPgpPublicKey": "the PGP public key is remove with success.", + "avatar_avatar": "Avatar" } diff --git a/pollen-ui-riot-js/src/main/web/i18n/fr.json b/pollen-ui-riot-js/src/main/web/i18n/fr.json index 29c78761..52b60ade 100644 --- a/pollen-ui-riot-js/src/main/web/i18n/fr.json +++ b/pollen-ui-riot-js/src/main/web/i18n/fr.json @@ -268,6 +268,8 @@ "header_signout": "Déconnexion", "header_home": "Accueil", "header_i18n_lang": "Langue", + "header_i18n_uk_flag": "Drapeau du Royaume-Uni", + "header_i18n_fr_flag": "Drapeau français", "header_myProfile": "Mon profil", "header_myPolls": "Mes sondages", "header_myInvitedPolls": "Mes invitations", @@ -499,6 +501,8 @@ "choice_download": "Télécharger", "choice_fileSizeMax_title": "Fichier trop lourd", "choice_fileSizeMax_message": "Le fichier « {0} » de taille de {1} ne doit pas dépasser {2}.", + "choice_imagePreview": "Prévisualisation de l'image", + "choice_originalFilePreview": "Prévisualisation du fichier original", "favoriteList_title": "Mes listes de votants", "favoriteList_one": "{0} liste de votants", "favoriteList_many": "{0} listes de votants", @@ -683,5 +687,6 @@ "emailAddressList_savePgpPublicKey": "Enregistrer la clé", "emailAddressList_sendPgpPublicKey": "Envoyer la clé", "emailAddressList_updatedPgpPublicKey": "La clé public PGP est enregistrée avec succès.", - "emailAddressList_removedPgpPublicKey": "La clé public PGP est supprimée avec succès." + "emailAddressList_removedPgpPublicKey": "La clé public PGP est supprimée avec succès.", + "avatar_avatar": "Avatar" } diff --git a/pollen-ui-riot-js/src/main/web/tag/HeaderI18n.tag.html b/pollen-ui-riot-js/src/main/web/tag/HeaderI18n.tag.html index 20ad451c..c8ed046c 100644 --- a/pollen-ui-riot-js/src/main/web/tag/HeaderI18n.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/HeaderI18n.tag.html @@ -25,8 +25,8 @@ <div class="dropdown"> <a class="header-link"><i class="fa fa-globe" aria-hidden="true"/></a> <div class="dropdown-content right"> - <a onclick="{toEnglish}"> <img src="../img/en.png"/> English</a> - <a onclick="{toFrench}"> <img src="../img/fr.png"/> Français</a> + <a onclick="{toEnglish}"> <img src="../img/en.png" alt="{_t.uk_flag}"/> English</a> + <a onclick="{toFrench}"> <img src="../img/fr.png" alt="{_t.fr_flag}"/> Français</a> </div> </div> diff --git a/pollen-ui-riot-js/src/main/web/tag/Privacy.tag.html b/pollen-ui-riot-js/src/main/web/tag/Privacy.tag.html index fe4937e5..d041e9c2 100644 --- a/pollen-ui-riot-js/src/main/web/tag/Privacy.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/Privacy.tag.html @@ -27,7 +27,8 @@ <div class="main-content"> <iframe class="piwik-privacy" if={session.configuration.piwikUrl} - src="{session.configuration.piwikUrl}index.php?module=CoreAdminHome&action=optOut&language={session.locale}"></iframe> + src="{session.configuration.piwikUrl}index.php?module=CoreAdminHome&action=optOut&language={session.locale}" + title="{_t.title}"></iframe> </div> </div> diff --git a/pollen-ui-riot-js/src/main/web/tag/components/Avatar.tag.html b/pollen-ui-riot-js/src/main/web/tag/components/Avatar.tag.html index 6eb151c3..4baaa4f3 100644 --- a/pollen-ui-riot-js/src/main/web/tag/components/Avatar.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/components/Avatar.tag.html @@ -24,7 +24,8 @@ import "./LetterAvatar.tag.html"; <img class="avatar-avatar {rounded: opts.rounded}" if="{opts.avatar}" src="{resourceService.getPreviewUrl(opts.avatar, true)}" - show={opts.avatar}> + show={opts.avatar} + alt="{_t.avatar}"> </img> <script> diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Choice.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Choice.tag.html index 1ac6b7c3..9e7a2119 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Choice.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Choice.tag.html @@ -53,7 +53,7 @@ import "../components/time-picker.tag.html"; </button> <div if="{originalFile}" class="original-file {opts.choice.choiceType === 'RESOURCE' ? 'selected' : 'hidden'}"> - <img src="{resourceService.getPreviewUrl(originalFile)}"/> + <img src="{resourceService.getPreviewUrl(originalFile)}" alt="_t.originalFilePreview"/> <span> {originalFile.name} <i class="fa fa-remove" aria-hidden="true" @@ -63,7 +63,7 @@ import "../components/time-picker.tag.html"; </div> <div if="{!originalFile}" class="add-file {opts.choice.choiceType === 'RESOURCE' ? 'selected' : 'hidden'}"> - <img if={newFile && newFile.image} ref="imagePreview"/> + <img if={newFile && newFile.image} ref="imagePreview" alt="_t.imagePreview"/> <div> <span if={!opts.disabled && !newFile} onclick="{addFile}"> diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/ChoiceView.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/ChoiceView.tag.html index 3eb25302..bd460b56 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/ChoiceView.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/ChoiceView.tag.html @@ -39,7 +39,7 @@ import "../components/MultiLineLabel.tag.html"; </span> <div class="choice-ressource" if={opts.choice.choiceType === "RESOURCE" && meta && isImage()}> - <img class="image-preview" src="{resourceService.getPreviewUrl(opts.choice.choiceValue)}"/> + <img class="image-preview" src="{resourceService.getPreviewUrl(opts.choice.choiceValue)}" alt="_t.imagePreview"/> </div> <div class="choice-ressource" if={opts.choice.choiceType === "RESOURCE" && meta && !isImage()}> diff --git a/pollen-ui-riot-js/src/main/web/tag/popup/ChoiceDetailModal.tag.html b/pollen-ui-riot-js/src/main/web/tag/popup/ChoiceDetailModal.tag.html index 9efa2f41..ce977982 100644 --- a/pollen-ui-riot-js/src/main/web/tag/popup/ChoiceDetailModal.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/popup/ChoiceDetailModal.tag.html @@ -26,7 +26,8 @@ import "../components/MultiLineLabel.tag.html"; <div if={parent.choice && parent.choice.choiceType === "RESOURCE" && parent.meta}> <img if={parent.isImage()} class="image-preview" - src="{parent.session.configuration.endPoint}/v1/resources/{parent.choice.choiceValue}"/> + src="{parent.session.configuration.endPoint}/v1/resources/{parent.choice.choiceValue}" + alt="_t.imagePreview"/> <a class="c-button c-button--info" if={!parent.isImage()} href="{parent.session.configuration.endPoint}/v1/resources/{parent.choice.choiceValue}/download" -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.