Skip to content

Commit

Permalink
feat: Fix accessibility issues on news details - EXO-75109 - Meeds-io…
Browse files Browse the repository at this point in the history
  • Loading branch information
sofyenne authored and hakermi committed Nov 28, 2024
1 parent 03c476c commit 136c414
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ news.details.deleteSuccess=News deleted
news.details.deleteCanceled=News deletion canceled
news.details.deleteDraftSuccess=Draft successfully deleted
news.details.deleteDraftCanceled=Draft deletion canceled
article.details.goBack.label=Go back
news.message.confirmDeleteNews=Would you like to delete this article?
news.title.confirmDeleteNews=Delete article?
news.message.confirmDeleteDraftNews=Would you like to delete this draft?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ news.details.deleteSuccess=Article supprimé
news.details.deleteCanceled=Suppression de l'article annulée
news.details.deleteDraftSuccess=Brouillon supprimé
news.details.deleteDraftCanceled=La suppression du brouillon a été annulée
article.details.goBack.label=Retourner
news.message.confirmDeleteNews=Souhaitez-vous supprimer cet article ?
news.title.confirmDeleteNews=Supprimer article ?
news.message.confirmDeleteDraftNews=Voulez-vous supprimer ce brouillon?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<v-btn
class="go-back-button"
icon
:aria-label="this.$t('article.details.goBack.label')"
@click.stop="goBack">
<v-icon
size="15">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
height="36"
class="pa-0 ms-3"
:class="langButtonColor"
:aria-label="langButtonLabel"
icon>
<v-icon
size="22">
Expand Down Expand Up @@ -107,6 +108,9 @@ export default {
langButtonColor(){
return this.selectedTranslation.value ? 'primary--text':'';
},
langButtonLabel() {
return this.$t('content.label.button.translations.options');
}
},
created() {
this.refreshTranslationExtensions();
Expand Down

0 comments on commit 136c414

Please sign in to comment.