Add tabIndex to extension help dismiss button

This makes it accessible via keyboard.
This commit is contained in:
Asher 2021-03-01 13:39:18 -06:00
parent 6dd8b63f4c
commit c7d59e81dd
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -490,6 +490,7 @@ export class ExtensionsViewPaneContainer extends ViewPaneContainer implements IE
dismiss.style.display = 'block';
dismiss.style.textAlign = 'right';
dismiss.style.cursor = 'pointer';
dismiss.tabIndex = 0;
dismiss.onclick = () => {
helperHeader.remove();
localStorage.setItem(extensionHelperLocalStorageKey, 'viewed');