Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
00:04 Pe_Elle joined 01:06 Pe_Elle left 01:21 Pe_Elle joined 02:12 Pe_Elle left 02:26 Pe_Elle joined 03:28 Pe_Elle left 03:42 Pe_Elle joined 04:44 Pe_Elle left 05:00 Pe_Elle joined 07:02 Pe_Elle left 07:16 Pe_Elle joined 08:18 Pe_Elle left 08:31 Pe_Elle joined 09:33 Pe_Elle left 09:43 Pe_Elle joined 10:14 Pe_Elle left 10:15 Pe_Elle joined 10:21 Pe_Elle left 10:42 Pe_Elle joined 10:59 Pe_Elle left 11:01 Pe_Elle joined 11:09 Pe_Elle left
librasteve japhb: I have checked the aria guidance (chatgpt.com/share/680e1491-2a8c-80...177f89591) - it states <<After submitting the form with errors, move focus to the error summary div (role="alert") or the first errored field.>> 11:34
there is a bit of additional work to do on the current Cro::WebApp::Form prelude.crotmp to give it active focus controls (which I am not planning atm) ... since the default for a static form is to reload the page, focus is lost and will start at the top of the form, so this is likely why they are there atm 11:51
however with htmx hx-post (which is what I am using) focus stays on the subnit button (which I prefer) - so i guess I need to add an error box placement option and leave the default alone 11:52
16:21 Pe_Elle joined 18:03 Pe_Elle left 18:04 Pe_Elle joined 18:15 Pe_Elle left 18:16 Pe_Elle joined 18:25 Pe_Elle left 18:32 Pe_Elle joined 19:35 Pe_Elle left 19:36 Pe_Elle joined 19:41 Pe_Elle left 19:46 Pe_Elle joined 20:50 Pe_Elle left 21:05 Pe_Elle joined 21:11 Pe_Elle left, Pe_Elle joined 21:25 Pe_Elle left 21:29 Pe_Elle joined 22:30 Pe_Elle left 22:45 Pe_Elle joined 23:48 Pe_Elle left