From 593a2f0d7d7df90abdf07512450c50c52edbcb48 Mon Sep 17 00:00:00 2001 From: objecttothis <17935339+objecttothis@users.noreply.github.com> Date: Wed, 19 Aug 2026 17:10:08 +0400 Subject: [PATCH] fix(view): add aria-label for default stock location and update element IDs - Improved accessibility by adding an `aria-label` to default stock location radio inputs. - Updated ID formatting for stock location input elements. Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com> --- app/Language/en/Config.php | 1 + app/Views/partial/stock_locations.php | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/Language/en/Config.php b/app/Language/en/Config.php index 6ad5f033c..79d911305 100644 --- a/app/Language/en/Config.php +++ b/app/Language/en/Config.php @@ -296,6 +296,7 @@ return [ 'statistics' => 'Send Statistics', 'statistics_tooltip' => 'Send statistics for development and feature improvement purposes.', 'stock_location' => 'Stock location', + 'stock_location_default' => 'Default stock location', 'stock_location_duplicate' => 'Stock Location must be unique.', 'stock_location_invalid_chars' => "Stock Location can not contain '_'.", 'stock_location_required' => 'Stock location is a required field.', diff --git a/app/Views/partial/stock_locations.php b/app/Views/partial/stock_locations.php index fe3fd93f8..b6d9d4d78 100644 --- a/app/Views/partial/stock_locations.php +++ b/app/Views/partial/stock_locations.php @@ -17,17 +17,18 @@ foreach ($stock_locations as $location => $locationData) {