From 92938145177289f83ef2191f5f53701f6108ab10 Mon Sep 17 00:00:00 2001 From: Stephen Hogsten Date: Thu, 7 Feb 2019 19:14:23 -0500 Subject: [PATCH] fix(number-input): prevent form submission add type='button' to all number-input controls prevent forms containing number-input elements from being submitted prematurely closes #1747 --- src/components/number-input/number-input.hbs | 44 +- tests/axe/a11y-number-input.json | 1153 ++++++++++++++++++ 2 files changed, 1175 insertions(+), 22 deletions(-) create mode 100644 tests/axe/a11y-number-input.json diff --git a/src/components/number-input/number-input.hbs b/src/components/number-input/number-input.hbs index e73dc6bfa85c..8e2fe877c2e3 100644 --- a/src/components/number-input/number-input.hbs +++ b/src/components/number-input/number-input.hbs @@ -10,7 +10,7 @@
- - -
@@ -51,12 +51,12 @@ {{else}}
- - -
@@ -87,12 +87,12 @@ {{else}}
- - -
@@ -126,12 +126,12 @@ {{else}}
- - -
@@ -168,12 +168,12 @@ {{else}}
- - -
@@ -213,12 +213,12 @@ {{else}}
- -