@vaadin/a11y-base 24.9.0 → 24.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/a11y-base",
|
|
3
|
-
"version": "24.9.
|
|
3
|
+
"version": "24.9.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
34
34
|
"@polymer/polymer": "^3.0.0",
|
|
35
|
-
"@vaadin/component-base": "~24.9.
|
|
35
|
+
"@vaadin/component-base": "~24.9.2",
|
|
36
36
|
"lit": "^3.0.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@vaadin/chai-plugins": "~24.9.
|
|
40
|
-
"@vaadin/test-runner-commands": "~24.9.
|
|
39
|
+
"@vaadin/chai-plugins": "~24.9.2",
|
|
40
|
+
"@vaadin/test-runner-commands": "~24.9.2",
|
|
41
41
|
"@vaadin/testing-helpers": "^1.1.0",
|
|
42
42
|
"sinon": "^18.0.0"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "a26cb8ab518fde5b87dc740957f1cfa295dfae81"
|
|
45
45
|
}
|
|
@@ -108,11 +108,12 @@ export const KeyboardDirectionMixin = (superclass) =>
|
|
|
108
108
|
if (
|
|
109
109
|
this._tabNavigation &&
|
|
110
110
|
key === 'Tab' &&
|
|
111
|
-
((idx > currentIdx && event.shiftKey) || (idx < currentIdx && !event.shiftKey))
|
|
111
|
+
((idx > currentIdx && event.shiftKey) || (idx < currentIdx && !event.shiftKey) || idx === currentIdx)
|
|
112
112
|
) {
|
|
113
113
|
// Prevent "roving tabindex" logic and let the normal Tab behavior if
|
|
114
114
|
// - currently on the first focusable item and Shift + Tab is pressed,
|
|
115
|
-
// - currently on the last focusable item and Tab is pressed
|
|
115
|
+
// - currently on the last focusable item and Tab is pressed,
|
|
116
|
+
// - currently on the only focusable item and Tab is pressed
|
|
116
117
|
return;
|
|
117
118
|
}
|
|
118
119
|
|