From ad48a0cc27322a570aa62591d415ad3101da3627 Mon Sep 17 00:00:00 2001
From: Derick Montague <derick.montague@ibm.com>
Date: Fri, 30 Oct 2020 08:48:09 -0500
Subject: 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
---
 src/views/Configuration/Firmware/Firmware.vue | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

(limited to 'src/views/Configuration/Firmware/Firmware.vue')

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>
-- 
cgit v1.2.3

