summaryrefslogtreecommitdiff
path: root/src/views/HardwareStatus/Inventory
diff options
context:
space:
mode:
authorSneha Patel <Snehaben.Patel@ibm.com>2021-08-31 21:19:34 +0300
committerGunnar Mills <gmills@us.ibm.com>2021-09-14 22:52:39 +0300
commit4928206943a094beab60f2d91ee7e9c9174b6223 (patch)
tree2bfd57d712637b85e8f719258b53693b10ae2f22 /src/views/HardwareStatus/Inventory
parentbfb346946727f09d99c1710e0443dcda2e8544a5 (diff)
downloadwebui-vue-4928206943a094beab60f2d91ee7e9c9174b6223.tar.xz
Remove unnecessary span from toggle component
A span element was removed that was added to support assistive technology.This element was not needed since it was the same text used in the toggle elements label causing it to be read twice by screen readers. Signed-off-by: Sneha Patel <Snehaben.Patel@ibm.com> Change-Id: If56d6062c53e7e1ea47a8bf0b2ea17b085ead272
Diffstat (limited to 'src/views/HardwareStatus/Inventory')
-rw-r--r--src/views/HardwareStatus/Inventory/InventoryServiceIndicator.vue3
-rw-r--r--src/views/HardwareStatus/Inventory/InventoryTableSystem.vue3
2 files changed, 0 insertions, 6 deletions
diff --git a/src/views/HardwareStatus/Inventory/InventoryServiceIndicator.vue b/src/views/HardwareStatus/Inventory/InventoryServiceIndicator.vue
index 8acf43c5..65b48c2b 100644
--- a/src/views/HardwareStatus/Inventory/InventoryServiceIndicator.vue
+++ b/src/views/HardwareStatus/Inventory/InventoryServiceIndicator.vue
@@ -25,9 +25,6 @@
switch
@change="toggleIdentifyLedSwitch"
>
- <span class="sr-only">
- {{ $t('pageInventory.systemIndicator.identifyLed') }}
- </span>
<span v-if="systems.locationIndicatorActive">
{{ $t('global.status.on') }}
</span>
diff --git a/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue b/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue
index 44a35859..c6f425d7 100644
--- a/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue
+++ b/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue
@@ -36,9 +36,6 @@
switch
@change="toggleIdentifyLedSwitch"
>
- <span class="sr-only">
- {{ $t('pageInventory.table.identifyLed') }}
- </span>
<span v-if="item.locationIndicatorActive">
{{ $t('global.status.on') }}
</span>