From ab2dfd7927b325043d7518094ec4033e225bd97e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20K=C5=99=C3=AD=C5=BE?= Date: Sat, 6 Jan 2018 17:58:16 +0100 Subject: [PATCH 1/2] Remove spinner buttons form TAB focus As on default `input[type=number]` there is no focus on up/down buttons. And *stepper.js* also does not support keyboard control on the buttons. So we don't need TAB focus on them. --- readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 8ad12fe..63dbb84 100644 --- a/readme.md +++ b/readme.md @@ -13,8 +13,8 @@ Setting [options](https://github.com/gijsroge/stepper.js#options) is as simple a
- - + +
@@ -39,4 +39,4 @@ debounce: 400, // Time in milliseconds to debounce the change event - https://unpkg.com/stepper.js@1.0.3/dest/stepper.min.js ### Alternatives -- https://github.com/vsn4ik/jquery.spinner \ No newline at end of file +- https://github.com/vsn4ik/jquery.spinner From 37134f6a37870aab0a01621ae622cada9cc87c42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20K=C5=99=C3=AD=C5=BE?= Date: Sat, 6 Jan 2018 18:02:36 +0100 Subject: [PATCH 2/2] Remove spinner buttons form TAB focus --- demo/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demo/index.html b/demo/index.html index 311df0c..fcd9b81 100644 --- a/demo/index.html +++ b/demo/index.html @@ -12,11 +12,11 @@
- - + +
- \ No newline at end of file +