summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Montague <derick.montague@ibm.com>2020-10-30 16:48:09 +0300
committerDerick Montague <derick.montague@ibm.com>2020-11-03 23:14:02 +0300
commitad48a0cc27322a570aa62591d415ad3101da3627 (patch)
treedc2cdd8acdcd2878ab71e5a9f4c4275069765f25
parentefd7c88404fc58d0dc8cd495ba2e33b9e9034e0b (diff)
downloadwebui-vue-ad48a0cc27322a570aa62591d415ad3101da3627.tar.xz
Resolve firmware accessibility violation
The Bootstrap-vue b-form-group component has two different HTML blocks that are generated depending on what props are present on the component. Neiter of these are correct for wrapping a button since it is not semantically correct to wrap one button alone in a fieldset or to associate a <label> element with a button. - Remove the b-form-group comonent that contains the submit button Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I41d05883f4ca133f44188cb03cb2a44917361709
-rw-r--r--src/views/Configuration/Firmware/Firmware.vue9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/views/Configuration/Firmware/Firmware.vue b/src/views/Configuration/Firmware/Firmware.vue
index 48c29ebc..7e9599fe 100644
--- a/src/views/Configuration/Firmware/Firmware.vue
+++ b/src/views/Configuration/Firmware/Firmware.vue
@@ -169,11 +169,10 @@
</p>
<p>{{ $t('pageFirmware.alert.updateProcessInfo') }}</p>
</alert>
- <b-form-group>
- <b-btn type="submit" variant="primary">
- {{ $t('pageFirmware.form.uploadAndRebootBmcOrHost') }}
- </b-btn>
- </b-form-group>
+
+ <b-btn type="submit" variant="primary">
+ {{ $t('pageFirmware.form.uploadAndRebootBmcOrHost') }}
+ </b-btn>
</b-form>
</page-section>
</b-col>