Updated breadcrumb dropdown styles, improved keyboard nav

- Removed harsh theme color border between search and content.
- Prevented intermediate focus on list container to align arrow & tab
  behaviour, and to get to content quicker.
This commit is contained in:
Dan Brown
2022-05-14 13:11:48 +01:00
parent e6864a9cff
commit 2c74dfd1d4
3 changed files with 6 additions and 3 deletions

View File

@ -101,7 +101,7 @@ class DropDown {
}
getFocusable() {
return Array.from(this.menu.querySelectorAll('[tabindex],[href],button,input:not([type=hidden])'));
return Array.from(this.menu.querySelectorAll('[tabindex]:not([tabindex="-1"]),[href],button,input:not([type=hidden])'));
}
focusNext() {