diff --git a/data/core.yaml b/data/core.yaml index d1f8a73fa..67def66d5 100644 --- a/data/core.yaml +++ b/data/core.yaml @@ -772,6 +772,7 @@ en: network_ref_direction: "{network} {ref} {direction}" network_ref_from_to: "{network} {ref} from {from} to {to}" network_ref_from_to_via: "{network} {ref} from {from} to {to} via {via}" + speed_unit: "Speed unit" roadheight: # symbol for meters meter: m diff --git a/modules/ui/fields/roadspeed.js b/modules/ui/fields/roadspeed.js index eb92c8bfc..a671e7e9a 100644 --- a/modules/ui/fields/roadspeed.js +++ b/modules/ui/fields/roadspeed.js @@ -60,6 +60,7 @@ export function uiFieldRoadspeed(field, context) { .append('input') .attr('type', 'text') .attr('class', 'roadspeed-unit') + .attr('aria-label', t('inspector.speed_unit')) .call(unitCombo) .merge(unitInput);