From bc0d6d219d83651889fc5d31aafb8fd3f1effb41 Mon Sep 17 00:00:00 2001 From: Jeff Sagal Date: Wed, 4 Mar 2020 20:08:18 -0800 Subject: [PATCH] fix: Add and update WAI-ARIA 1.1 combobox propeties (#1068) * Add aria 1.1 combobox properties * Update dropdown test to account for v-show changes * test: fix dropdown tests * test: fix pointer scroll warnings * refactor: implement uniqueId function * fix: close #1072 remove empty button Co-authored-by: Jeff Sagal --- src/components/Select.vue | 54 +++++++++++++++++------------ src/mixins/pointerScroll.js | 2 +- src/utility/uniqueId.js | 12 +++++++ tests/unit/Dropdown.spec.js | 9 +++-- tests/unit/utility/uniqueId.spec.js | 5 +++ 5 files changed, 55 insertions(+), 27 deletions(-) create mode 100644 src/utility/uniqueId.js create mode 100644 tests/unit/utility/uniqueId.spec.js diff --git a/src/components/Select.vue b/src/components/Select.vue index 62f0a22..fa0bce6 100644 --- a/src/components/Select.vue +++ b/src/components/Select.vue @@ -4,7 +4,7 @@