fix aria labels for plans, descriptions
This commit is contained in:
parent
f87d47e72e
commit
060cce64c2
|
@ -1,5 +1,5 @@
|
|||
<div class="description-card">
|
||||
<a [routerLink]="getItemLink()" class="pointer" [attr.aria-label]="'ALT-TEXT.OPEN-DESCRIPTION-OVERVIEW' | translate">
|
||||
<a [routerLink]="getItemLink()" class="pointer" [attr.aria-label]="('ALT-TEXT.OPEN-DESCRIPTION-OVERVIEW-FOR' | translate) + ' ' + description?.label">
|
||||
<div class="d-flex flex-direction-row flex-wrap">
|
||||
<div class="col-auto description-label">{{'DESCRIPTION-LISTING.DESCRIPTION' | translate}}</div>
|
||||
<div class="col-auto ml-auto">
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
<div class="plan-card">
|
||||
<a [routerLink]="isPublic ? this.routerUtils.generateUrl(['/explore-plans/overview/public/', plan.id]) : this.routerUtils.generateUrl(['/plans/overview/', plan.id])" class="pointer" [attr.aria-label]="'ALT-TEXT.OPEN-PLAN-OVERVIEW' | translate">
|
||||
<a
|
||||
[routerLink]="isPublic ? this.routerUtils.generateUrl(['/explore-plans/overview/public/', plan.id]) : this.routerUtils.generateUrl(['/plans/overview/', plan.id])"
|
||||
class="pointer"
|
||||
[attr.aria-label]="('ALT-TEXT.OPEN-PLAN-OVERVIEW-FOR' | translate) + ' ' + plan?.label"
|
||||
>
|
||||
<div class="d-flex flex-direction-row flex-wrap">
|
||||
<div class="col-auto plan-label">{{ 'PLAN-LISTING.PLAN' | translate }}</div>
|
||||
<div class="col-auto ml-auto">
|
||||
|
|
|
@ -2600,8 +2600,8 @@
|
|||
"SELECT-OPTION": "Select an option",
|
||||
"INTERNAL-EXTERNAL-USER": "Select internal or external user",
|
||||
"OPEN-FILTERS": "Open filters",
|
||||
"OPEN-PLAN-OVERVIEW": "Open plan overview",
|
||||
"OPEN-DESCRIPTION-OVERVIEW": "Open description overview",
|
||||
"OPEN-PLAN-OVERVIEW-FOR": "Open plan overview for",
|
||||
"OPEN-DESCRIPTION-OVERVIEW-FOR": "Open description overview for",
|
||||
"MORE-ACTIONS": "More actions",
|
||||
"OPEN-MENU-FOR": "Open menu",
|
||||
"CLOSE-RELEASE": "Close release notifications",
|
||||
|
|
|
@ -2603,8 +2603,8 @@
|
|||
"SELECT-OPTION": "Select an option",
|
||||
"INTERNAL-EXTERNAL-USER": "Select internal or external user",
|
||||
"OPEN-FILTERS": "Open filters",
|
||||
"OPEN-PLAN-OVERVIEW": "Open plan overview",
|
||||
"OPEN-DESCRIPTION-OVERVIEW": "Open description overview",
|
||||
"OPEN-PLAN-OVERVIEW-FOR": "Open plan overview for",
|
||||
"OPEN-DESCRIPTION-OVERVIEW-FOR": "Open description overview for",
|
||||
"MORE-ACTIONS": "More actions",
|
||||
"OPEN-MENU-FOR": "Open menu",
|
||||
"CLOSE-RELEASE": "Close release notifications",
|
||||
|
|
|
@ -2604,8 +2604,8 @@
|
|||
"SELECT-OPTION": "Select an option",
|
||||
"INTERNAL-EXTERNAL-USER": "Select internal or external user",
|
||||
"OPEN-FILTERS": "Open filters",
|
||||
"OPEN-PLAN-OVERVIEW": "Open plan overview",
|
||||
"OPEN-DESCRIPTION-OVERVIEW": "Open description overview",
|
||||
"OPEN-PLAN-OVERVIEW-FOR": "Open plan overview for",
|
||||
"OPEN-DESCRIPTION-OVERVIEW-FOR": "Open description overview for",
|
||||
"MORE-ACTIONS": "More actions",
|
||||
"OPEN-MENU-FOR": "Open menu",
|
||||
"CLOSE-RELEASE": "Close release notifications",
|
||||
|
|
|
@ -2603,8 +2603,8 @@
|
|||
"SELECT-OPTION": "Select an option",
|
||||
"INTERNAL-EXTERNAL-USER": "Select internal or external user",
|
||||
"OPEN-FILTERS": "Open filters",
|
||||
"OPEN-PLAN-OVERVIEW": "Open plan overview",
|
||||
"OPEN-DESCRIPTION-OVERVIEW": "Open description overview",
|
||||
"OPEN-PLAN-OVERVIEW-FOR": "Open plan overview for",
|
||||
"OPEN-DESCRIPTION-OVERVIEW-FOR": "Open description overview for",
|
||||
"MORE-ACTIONS": "More actions",
|
||||
"OPEN-MENU-FOR": "Open menu",
|
||||
"CLOSE-RELEASE": "Close release notifications",
|
||||
|
|
|
@ -2603,8 +2603,8 @@
|
|||
"SELECT-OPTION": "Select an option",
|
||||
"INTERNAL-EXTERNAL-USER": "Select internal or external user",
|
||||
"OPEN-FILTERS": "Open filters",
|
||||
"OPEN-PLAN-OVERVIEW": "Open plan overview",
|
||||
"OPEN-DESCRIPTION-OVERVIEW": "Open description overview",
|
||||
"OPEN-PLAN-OVERVIEW-FOR": "Open plan overview for",
|
||||
"OPEN-DESCRIPTION-OVERVIEW-FOR": "Open description overview for",
|
||||
"MORE-ACTIONS": "More actions",
|
||||
"OPEN-MENU-FOR": "Open menu",
|
||||
"CLOSE-RELEASE": "Close release notifications",
|
||||
|
|
|
@ -2602,8 +2602,8 @@
|
|||
"SELECT-OPTION": "Select an option",
|
||||
"INTERNAL-EXTERNAL-USER": "Select internal or external user",
|
||||
"OPEN-FILTERS": "Open filters",
|
||||
"OPEN-PLAN-OVERVIEW": "Open plan overview",
|
||||
"OPEN-DESCRIPTION-OVERVIEW": "Open description overview",
|
||||
"OPEN-PLAN-OVERVIEW-FOR": "Open plan overview for",
|
||||
"OPEN-DESCRIPTION-OVERVIEW-FOR": "Open description overview for",
|
||||
"MORE-ACTIONS": "More actions",
|
||||
"OPEN-MENU-FOR": "Open menu",
|
||||
"CLOSE-RELEASE": "Close release notifications",
|
||||
|
|
|
@ -2603,8 +2603,8 @@
|
|||
"SELECT-OPTION": "Select an option",
|
||||
"INTERNAL-EXTERNAL-USER": "Select internal or external user",
|
||||
"OPEN-FILTERS": "Open filters",
|
||||
"OPEN-PLAN-OVERVIEW": "Open plan overview",
|
||||
"OPEN-DESCRIPTION-OVERVIEW": "Open description overview",
|
||||
"OPEN-PLAN-OVERVIEW-FOR": "Open plan overview for",
|
||||
"OPEN-DESCRIPTION-OVERVIEW-FOR": "Open description overview for",
|
||||
"MORE-ACTIONS": "More actions",
|
||||
"OPEN-MENU-FOR": "Open menu",
|
||||
"CLOSE-RELEASE": "Close release notifications",
|
||||
|
|
|
@ -2602,8 +2602,8 @@
|
|||
"SELECT-OPTION": "Select an option",
|
||||
"INTERNAL-EXTERNAL-USER": "Select internal or external user",
|
||||
"OPEN-FILTERS": "Open filters",
|
||||
"OPEN-PLAN-OVERVIEW": "Open plan overview",
|
||||
"OPEN-DESCRIPTION-OVERVIEW": "Open description overview",
|
||||
"OPEN-PLAN-OVERVIEW-FOR": "Open plan overview for",
|
||||
"OPEN-DESCRIPTION-OVERVIEW-FOR": "Open description overview for",
|
||||
"MORE-ACTIONS": "More actions",
|
||||
"OPEN-MENU-FOR": "Open menu",
|
||||
"CLOSE-RELEASE": "Close release notifications",
|
||||
|
|
|
@ -2603,8 +2603,8 @@
|
|||
"SELECT-OPTION": "Select an option",
|
||||
"INTERNAL-EXTERNAL-USER": "Select internal or external user",
|
||||
"OPEN-FILTERS": "Open filters",
|
||||
"OPEN-PLAN-OVERVIEW": "Open plan overview",
|
||||
"OPEN-DESCRIPTION-OVERVIEW": "Open description overview",
|
||||
"OPEN-PLAN-OVERVIEW-FOR": "Open plan overview for",
|
||||
"OPEN-DESCRIPTION-OVERVIEW-FOR": "Open description overview for",
|
||||
"MORE-ACTIONS": "More actions",
|
||||
"OPEN-MENU-FOR": "Open menu",
|
||||
"CLOSE-RELEASE": "Close release notifications",
|
||||
|
|
|
@ -2603,8 +2603,8 @@
|
|||
"SELECT-OPTION": "Select an option",
|
||||
"INTERNAL-EXTERNAL-USER": "Select internal or external user",
|
||||
"OPEN-FILTERS": "Open filters",
|
||||
"OPEN-PLAN-OVERVIEW": "Open plan overview",
|
||||
"OPEN-DESCRIPTION-OVERVIEW": "Open description overview",
|
||||
"OPEN-PLAN-OVERVIEW-FOR": "Open plan overview for",
|
||||
"OPEN-DESCRIPTION-OVERVIEW-FOR": "Open description overview for",
|
||||
"MORE-ACTIONS": "More actions",
|
||||
"OPEN-MENU-FOR": "Open menu",
|
||||
"CLOSE-RELEASE": "Close release notifications",
|
||||
|
|
|
@ -2603,8 +2603,8 @@
|
|||
"SELECT-OPTION": "Select an option",
|
||||
"INTERNAL-EXTERNAL-USER": "Select internal or external user",
|
||||
"OPEN-FILTERS": "Open filters",
|
||||
"OPEN-PLAN-OVERVIEW": "Open plan overview",
|
||||
"OPEN-DESCRIPTION-OVERVIEW": "Open description overview",
|
||||
"OPEN-PLAN-OVERVIEW-FOR": "Open plan overview for",
|
||||
"OPEN-DESCRIPTION-OVERVIEW-FOR": "Open description overview for",
|
||||
"MORE-ACTIONS": "More actions",
|
||||
"OPEN-MENU-FOR": "Open menu",
|
||||
"CLOSE-RELEASE": "Close release notifications",
|
||||
|
|
Loading…
Reference in New Issue