Skip to content

Commit

Permalink
fix: set correct tabindex for extension button
Browse files Browse the repository at this point in the history
  • Loading branch information
dessant committed Sep 1, 2022
1 parent 3fae62e commit d68ce72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/solve/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ function syncUI() {
helpButton.remove();

const helpButtonHolder = document.querySelector('.help-button-holder');
helpButtonHolder.tabIndex = 2;
helpButtonHolder.tabIndex = document.querySelector('audio#audio-source')
? 0
: 2;

const shadow = helpButtonHolder.attachShadow({
mode: 'closed',
Expand Down

0 comments on commit d68ce72

Please sign in to comment.