Skip to content

Commit

Permalink
Merge pull request #272 from dof-dss/development
Browse files Browse the repository at this point in the history
Dev to main for release
  • Loading branch information
neilblair authored May 2, 2023
2 parents b466e91 + a6cb633 commit b96cb9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions origins_translations/js/origins-translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
let $button = $('.origins-translation-button', elm);
let $menu = $('.origins-translation-menu', elm);

// Initially menu is hidden, so ensure menu links are not
// keyboard focusable.
$menu.find('a').attr('tabindex', '-1');

// Aria-expanded attribute on the button is used as
// CSS hook to show/hide the menu and enable/disable
// keyboard focus on menu links.
Expand Down

0 comments on commit b96cb9d

Please sign in to comment.