Skip to content

Commit 654654c

Browse files
committed
fix(datepicker): Refine which slot elements are focusable
1 parent fbc3b46 commit 654654c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mixins/navMixin.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export default {
197197
*/
198198
getFocusableElements(fragment) {
199199
const navNodeList = fragment.querySelectorAll(
200-
'button:enabled, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])',
200+
'button:enabled, [href], input:not([type=hidden]), select:enabled, textarea:enabled, [tabindex]:not([tabindex="-1"])',
201201
)
202202
203203
return [...Array.prototype.slice.call(navNodeList)]

0 commit comments

Comments
 (0)