Add tabIndex to extension help dismiss button
This makes it accessible via keyboard.
This commit is contained in:
parent
6dd8b63f4c
commit
c7d59e81dd
@ -490,6 +490,7 @@ export class ExtensionsViewPaneContainer extends ViewPaneContainer implements IE
|
|||||||
dismiss.style.display = 'block';
|
dismiss.style.display = 'block';
|
||||||
dismiss.style.textAlign = 'right';
|
dismiss.style.textAlign = 'right';
|
||||||
dismiss.style.cursor = 'pointer';
|
dismiss.style.cursor = 'pointer';
|
||||||
|
dismiss.tabIndex = 0;
|
||||||
dismiss.onclick = () => {
|
dismiss.onclick = () => {
|
||||||
helperHeader.remove();
|
helperHeader.remove();
|
||||||
localStorage.setItem(extensionHelperLocalStorageKey, 'viewed');
|
localStorage.setItem(extensionHelperLocalStorageKey, 'viewed');
|
||||||
|
Loading…
Reference in New Issue
Block a user