Finished off design and fixing of sort buttons

This commit is contained in:
Dan Brown
2023-01-27 16:25:06 +00:00
parent 40e112fc5b
commit 022cbb9c00
6 changed files with 54 additions and 35 deletions

View File

@ -86,7 +86,7 @@ export class KeyboardNavigationHandler {
*/
#getFocusable() {
const focusable = [];
const selector = '[tabindex]:not([tabindex="-1"]),[href],button:not([tabindex="-1"]),input:not([type=hidden])';
const selector = '[tabindex]:not([tabindex="-1"]),[href],button:not([tabindex="-1"],[disabled]),input:not([type=hidden])';
for (const container of this.containers) {
focusable.push(...container.querySelectorAll(selector))
}