Verified Commit d0592e79 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #2990588 by Utkarsh_33, andrewmacpherson, oriol_e9g, smustgrave, shaal:...

Issue #2990588 by Utkarsh_33, andrewmacpherson, oriol_e9g, smustgrave, shaal: Visually-hidden refresh button in Field UI fails WCAG Focus Visible

(cherry picked from commit b97be27a)
parent 8905837f
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -268,7 +268,11 @@ public function form(array $form, FormStateInterface $form_state) {
        // spinners will be added manually by the client-side script.
        'progress' => 'none',
      ],
      '#attributes' => ['class' => ['visually-hidden']],
      '#attributes' => [
        'class' => ['visually-hidden'],
        // Ensure the button is not focusable via keyboard navigation.
        'tabindex' => '-1',
      ],
    ];

    $form['actions'] = ['#type' => 'actions'];