From 47fc2dff154f3497bf32217c91c658479288c549 Mon Sep 17 00:00:00 2001 From: Nick Williams Date: Wed, 2 Mar 2022 09:18:43 +0000 Subject: [PATCH 1/2] tutorial step 7: improve a11y, teach better practices it's easier, and more accessible, to handle a single submit event on a form than it is to handle both click on button and enter keydown on input --- src/tutorial/src/step-7/App/template.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/tutorial/src/step-7/App/template.html b/src/tutorial/src/step-7/App/template.html index 70982e37d5..276c2751ce 100644 --- a/src/tutorial/src/step-7/App/template.html +++ b/src/tutorial/src/step-7/App/template.html @@ -1,5 +1,7 @@ - - +
+ + +