1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/// The text shown in the panel when the typed text matches no suggestion.
pub const NO_MATCHES_TEXT: &str = "No matches";
/// The role for the editable input.
pub const AUTO_COMPLETE_ROLE_COMBOBOX: &str = "combobox";
/// The role for the suggestion panel.
pub const AUTO_COMPLETE_ROLE_LISTBOX: &str = "listbox";
/// The role for one suggestion.
pub const AUTO_COMPLETE_ROLE_OPTION: &str = "option";
/// The role for the polite no-results announcement.
pub const AUTO_COMPLETE_ROLE_STATUS: &str = "status";
/// The autocomplete mode for a suggestion list.
pub const AUTO_COMPLETE_ARIA_AUTOCOMPLETE_LIST: &str = "list";
/// The polite live-region mode for no-results announcements.
pub const AUTO_COMPLETE_ARIA_LIVE_POLITE: &str = "polite";
/// The ARIA true value.
pub const AUTO_COMPLETE_ARIA_TRUE: &str = "true";
/// The ARIA false value.
pub const AUTO_COMPLETE_ARIA_FALSE: &str = "false";
/// The empty value that removes a native boolean attribute.
pub const AUTO_COMPLETE_ATTRIBUTE_EMPTY: &str = "";
/// The browser default autocomplete hint used when no hint is provided.
pub const AUTO_COMPLETE_AUTOCOMPLETE_DEFAULT: &str = "on";
/// The keyboard key values used by the combobox input.
pub const AUTO_COMPLETE_KEY_ARROW_DOWN: &str = "ArrowDown";
pub const AUTO_COMPLETE_KEY_ARROW_UP: &str = "ArrowUp";
pub const AUTO_COMPLETE_KEY_ENTER: &str = "Enter";
pub const AUTO_COMPLETE_KEY_ESCAPE: &str = "Escape";
pub const AUTO_COMPLETE_KEY_TAB: &str = "Tab";
/// The suffix for the suggestion listbox id.
pub const AUTO_COMPLETE_LISTBOX_ID_SUFFIX: &str = "-listbox";
/// The separator between the input id and suggestion index.
pub const AUTO_COMPLETE_OPTION_ID_SUFFIX: &str = "-option-";