diff options
author | Sneha Patel <Snehaben.Patel@ibm.com> | 2021-08-31 21:19:34 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2021-09-14 22:52:39 +0300 |
commit | 4928206943a094beab60f2d91ee7e9c9174b6223 (patch) | |
tree | 2bfd57d712637b85e8f719258b53693b10ae2f22 | |
parent | bfb346946727f09d99c1710e0443dcda2e8544a5 (diff) | |
download | webui-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
-rw-r--r-- | src/views/HardwareStatus/Inventory/InventoryServiceIndicator.vue | 3 | ||||
-rw-r--r-- | src/views/HardwareStatus/Inventory/InventoryTableSystem.vue | 3 |
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> |