From afa715c860c59c9b47d59d4514bfc54db1615dae Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Wed, 16 Mar 2022 17:36:39 -0400 Subject: [PATCH] improve docs search a11y --- cspell.json | 2 ++ docs/assets/plugins/search/search.js | 27 ++++++++++++++++++++++++--- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/cspell.json b/cspell.json index a6027071f..0f6de2b33 100644 --- a/cspell.json +++ b/cspell.json @@ -1,6 +1,7 @@ { "version": "0.2", "words": [ + "activedescendant", "allowfullscreen", "animationend", "Animista", @@ -63,6 +64,7 @@ "labelledby", "Laravel", "LaViska", + "listbox", "litelement", "lowercasing", "Lucide", diff --git a/docs/assets/plugins/search/search.js b/docs/assets/plugins/search/search.js index 937a89c6b..d8ec37b1f 100644 --- a/docs/assets/plugins/search/search.js +++ b/docs/assets/plugins/search/search.js @@ -52,12 +52,21 @@ siteSearch.hidden = true; siteSearch.innerHTML = `
-
+