- commit
- 74b15310552e80bf48b435e075e2a185e0f46166
- parent
- d3420dd8720e9402d7bc309545230ac59f54b104
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-08-30 12:12
mv aria attributes to input element
Diffstat
| M | select.js | 4 | ++-- |
1 files changed, 2 insertions, 2 deletions
diff --git a/select.js b/select.js
@@ -21,8 +21,8 @@ export class Select {
21 21 }
22 22
23 23 createElements() {
24 -1 this.wrapper = create('<div class="select" role="combobox" aria-expanded="false" aria-has-popup="listbox">');
25 -1 this.input = create('<input aria-autocomplete="list" autocomplete="off">');
-1 24 this.wrapper = create('<div class="select">');
-1 25 this.input = create('<input role="combobox" aria-expanded="false" aria-has-popup="listbox" aria-autocomplete="list" autocomplete="off">');
26 26 this.dropdown = create('<ul class="select__dropdown" role="listbox" tabindex="-1">');
27 27
28 28 if (this.original.multiple) {