Make edit icons in sticky header untabbable for VO/screen readers.

Bug: T290201
Change-Id: I5248db6ab29b1a9a995a5053d84e63cfb7b9fd93
This commit is contained in:
Clare Ming 2021-10-12 16:02:52 -06:00
parent 529ccd1a86
commit 6c009f87c0
1 changed files with 3 additions and 0 deletions

View File

@ -74,6 +74,7 @@ class SkinVector extends SkinMustache {
'event' => 've-edit-sticky-header',
'icon' => 'wikimedia-edit',
'is-quiet' => true,
'tabindex' => '-1',
'class' => 'sticky-header-icon'
];
private const EDIT_WIKITEXT_ICON = [
@ -82,6 +83,7 @@ class SkinVector extends SkinMustache {
'event' => 'wikitext-edit-sticky-header',
'icon' => 'wikimedia-wikiText',
'is-quiet' => true,
'tabindex' => '-1',
'class' => 'sticky-header-icon'
];
private const EDIT_PROTECTED_ICON = [
@ -90,6 +92,7 @@ class SkinVector extends SkinMustache {
'event' => 've-edit-protected-sticky-header',
'icon' => 'wikimedia-editLock',
'is-quiet' => true,
'tabindex' => '-1',
'class' => 'sticky-header-icon'
];
private const SEARCH_EXPANDING_CLASS = 'vector-search-box-show-thumbnail';