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 b97be27a89
)
merge-requests/9332/head
parent
8905837f69
commit
d0592e79ef
|
@ -268,7 +268,11 @@ abstract class EntityDisplayFormBase extends EntityForm {
|
|||
// 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'];
|
||||
|
|
Loading…
Reference in New Issue