materiotheme: suggestions in the search field, ARIA combobox (F7)

Tags and thesaurus terms suggested on the first two words, from the
existing autocomplete route. Arrow keys, Enter, Escape and click; a
suggestion searches that term alone. Number of suggestions announced to
screen readers (fr/en texts in the component). Same translucent look as
the former jQuery UI list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
This commit is contained in:
2026-11-23 15:57:19 +01:00
co-authored by Claude Opus 5.5
parent 54e7e28046
commit f7eb6518e7
10 changed files with 177 additions and 20 deletions
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -668,21 +668,29 @@ header[role="banner"]{
}
ul.ui-menu.ui-widget-content.ui-autocomplete {
// Suggestions of the search field (SearchForm.vue, F7), same look as the
// former jQuery UI autocomplete.
#materio-sapi-search-form ul.search-suggestions {
position: absolute;
z-index: 100;
top: 100%;
left: 0;
right: 0;
margin: 0.2em 0 0;
list-style: none;
max-height: 60vh;
overflow-y: auto;
background-color: rgba(0, 0, 0, 0.6);
border-radius: 5px;
border: none;
padding: 0.3em 0.2em;
a.ui-menu-item-wrapper{
li{
color: #fff;
padding:0.1em 0.1em;
padding: 0.1em 0.3em;
display: block;
&.ui-state-active{
background: none;
border: none;
color:#fff;
cursor: pointer;
&.active{
background-color: rgba(0, 0, 0, 0.9);
}
}
}