From 7b664c460cb5b1f08e4bff3fa433d561adde2247 Mon Sep 17 00:00:00 2001 From: tekoiv Date: Mon, 6 Nov 2023 10:36:06 +0200 Subject: [PATCH] chore: change some accessibility properties --- app/component/LegInfo.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/app/component/LegInfo.js b/app/component/LegInfo.js index 3bffd9d17f..7296a780b0 100644 --- a/app/component/LegInfo.js +++ b/app/component/LegInfo.js @@ -55,14 +55,7 @@ const LegInfo = ( aria-label={`${intl.formatMessage({ id: mode.toLowerCase(), defaultMessage: 'Vehicle', - })} ${leg.route && leg.route.shortName} ${ - capacityTranslation - ? intl.formatMessage({ - id: capacityTranslation, - defaultMessage: 'Capacity status', - }) - : '' - }`} + })} ${leg.route && leg.route.shortName}}`} >