16:00:26 RRSAgent has joined #aria-dive 16:00:30 logging to https://www.w3.org/2024/03/28-aria-dive-irc 16:00:30 RRSAgent, make logs Public 16:00:31 please title this meeting ("meeting: ..."), jamesn 16:00:39 Adam_Page has joined #aria-dive 16:03:35 scribe: JamesNurthen 16:03:48 scribe: jamesn 16:04:44 present+ 16:04:53 sarah has joined #aria-dive 16:05:41 aardrian has joined #ARIA-dive 16:05:47 giacomo-petri has joined #aria-dive 16:05:55 present+ 16:05:56 present+ 16:06:01 present+ 16:07:56 BGaraventa has joined #aria-dive 16:08:17 Mario_Batusic0 has joined #aria-dive 16:09:08 sarah talking through background section of https://gist.github.com/smhigley/45783c28b47ef46818a4aaed3879528f 16:10:10 present+ 16:10:59 q+ 16:12:11 jamesn: why is calculating the character count an accessibility issue 16:12:40 q+ 16:13:02 ack me 16:13:27 Mario_Batusic0: if i put a maxlength on an input field then the browser shows something visually? 16:13:53 sarah: no - but it will stop you typing more 16:14:02 q+ 16:14:06 ack Mario_Batusic0 16:14:15 ack ma 16:14:57 +q 16:15:34 ack jamesn 16:17:37 jamesn: would we be better to look at aria-invalid and aria-errormessage to better support all sorts of scenarios 16:17:47 q+ 16:17:57 q+ 16:18:48 @@@ jamesn comments about tokens 16:18:55 ack BGaraventa 16:19:43 BGaraventa: contenteditable - what would qualify as content. 16:19:51 sarah: seems impossible 16:20:40 q+ 16:21:00 Q+ 16:21:05 ack scotto 16:21:55 q+ 16:22:00 scotto: contenteditable first. don't think we need to consider the complex ones first. Seems like an extra headache. Should scope to simple contenteditable. 16:22:19 q+ to discuss more on html input[maxlength] 16:22:47 scotto: What is the end goal? Is it to provide a consistent bonk or are we looking to solve the baseline plus the common extra of character count 16:23:23 scott: I appreciate your desire for messy drama, but leave me out of it 16:23:32 bonk or bing, we should have a poll 16:23:50 bonk-ing 16:23:59 boingk 16:24:12 scotto: did appreciate the suggestion for aria-invalid. But think that could make it messy again - don't want to have to worry about why something is invalid. 16:24:15 qv? 16:24:21 ack giacomo-petri 16:25:01 giacomo-petri: wanted to say what scott said about invalid. Was curious about the current behaviour. Was expecting a bonk but there are no details (tested using VO) 16:25:05 ack Adam_Page 16:25:48 Adam_Page: at least for simple cases outside contentediatable couldn't it be feasible for browsers to compute the current length to support bonking and the need for a bonk 16:26:07 q+ to respond to Adam that contenteditable input isn't itself interoperable 16:26:14 Adam_Page: could also have user preference settings for that 16:26:21 ack aardrian 16:27:27 q+ to respond to the aria-invalid suggestion too 16:27:41 q? v 16:27:46 aardrian: broadly on board with scott about contenteditable at least on a first pass. secondarily not a fan of adding a token to aria-invalid. From background for the most part the lack of exposure to screen reader users when hits the maxlength has overcomplicated things. Want to find a way to expose this on simple text fields and simple contenteditable 16:27:48 qv? 16:28:09 aardrian: most of the time it is when entering numbers and simple information into a limited system 16:28:13 qv? 16:28:17 ack sarah 16:28:42 sarah: probably biased in that i work on a lot of contenteditable with character counts 16:28:50 qq+ 16:29:41 ack me 16:29:41 jamesn, you wanted to react to sarah 16:30:03 jamesn: clarifying questions about character counts on the contenteditable 16:31:27 sarah: normally want invalid to immediately read invalid but for character count want to let the user know with less importance 16:31:30 qv? 16:31:35 ack jcraig 16:31:35 jcraig, you wanted to discuss more on html input[maxlength] and to respond to Adam that contenteditable input isn't itself interoperable and to respond to the aria-invalid 16:31:38 ... suggestion too 16:31:56 jcraig: 16:32:37 jcraig: aria-invalid piling on 16:33:32 jcraig: would be great to standadise contenteditable - has been a decade of trying to standarise contenteditable content and a lot of it is still not there 16:34:42 jcraig: what is it that you want to happen when maxlength is hit. The key thing that hasn't been mentioned is that there is no output to a sighted user (and that isn't always apparent) 16:35:07 q+ 16:35:37 https://bugs.webkit.org/show_bug.cgi?id=271831 16:35:38 jcraig: do we put in HTML-AAM some expectations about mapping these. At the moment there is not a lot of output to screen reader. I did file an issue (and a public webkit issue) to bonk when maxlength is hit 16:36:32 jcraig: first of all - should get maxlength working with AT that needs it 16:36:49 jcraig: sure there is no reason it hasn't just hasn't had priority 16:37:22 jcraig: if we considered for aria for things like the character countdown. We should consider the inverse of maxlength - i.e. charactersRemaining 16:37:39 jcraig: which the webapp could compute and would allow negatives 16:37:59 qv? 16:38:05 ack giacomo-petri 16:38:23 s/charactersRemaining/characters remaining or allowed chars remaining/ 16:38:31 q+ 16:38:37 q+ 16:38:51 q+ to respond to convey remaining on field status 16:39:05 giacomo-petri: maybe we should have an announcement when the input is focused 16:39:17 q+ 16:39:35 giacomo-petri: a mechanism for them to work out how many they have entered 16:40:05 giacomo-petri: instead of announcing the number entered. Only announce on focus of the element 16:40:19 sarah: are you suggesting another aria attribute? 16:40:29 giacomo-petri: not sure 16:40:33 ack me 16:40:34 jcraig, you wanted to respond to convey remaining on field status 16:40:34 ack jcraig 16:42:25 jcraig: also hearing the maxlength - there is a goal to keep the interface simple rather than piling everything into a status message. That suggestion lends itself to a prescriptive UI. Feels like a less useful interface 16:42:51 jcraig: the default interface of maxlength doesn't tell you how many are available 16:43:09 ack sa 16:44:05 sarah: wanted to propose a path forward. Map the HTML attributes and events. Then for aria have an aria-remaining and maybe an aria-maxlength. 16:44:12 sarah: do we need both 16:45:20 jcraig: could both map to a single API 16:45:26 jcraig: I think we are in agreement 16:45:28 qv? 16:45:30 for 16:45:33 ack me 16:46:15 Preliminary suggestion on approach: 16:46:15 1. Map html maxlength to metadata + events 16:46:15 2. create aria-maxlength to map metadata 16:46:15 3. create aria-remaining-style attr with same events mapping when it reaches or goes below 0 16:46:31 s/could both map to a single API/could map both maxlength and bikeshed-aria-remainingAllowedChars to a single platform API property/ 16:46:48 ack me 16:47:00 jamesn: spoke of importance of shopping around to AT 16:47:20 jcraig: curious as to what events 16:47:46 * fire an event when the current char count reaches the maxlength 16:47:46 * fire an event whenever there is input that would cause the char count to exceed the maxlength 16:47:46 * fire an event whenever the char count changes 16:48:47 jcraig: "we" already fire events whenever the character count changes 16:49:03 jcraig: what other events do you need. are the events already firing enough 16:49:15 sarah: a specific event? 16:50:34 jcraig: just system events about when something changed. Probably selectionchange in this case. The screen reader or the engine could check at this point. If you wanted to change the api so the screen reader doesn't have to listen to character count. but that new event seems unnecessary. 16:50:52 doug: seems like the way to do it rather than creating a brand new event. 16:51:06 jcraig: unless that is creating a performance issue 16:51:23 jcraig: but don't know of a real world scenario. 16:51:35 qv? 16:52:12 q+ to say aria-maxlength unnecessary 16:52:15 ack m 16:52:18 sarah: will update the mappings maxlength and remainingCharacters. HTML maxlength will map to both. then shop to AT vendors 16:53:09 jcraig: was thinking only the native maxlength would need a mapping and then just have a single ARIA charactersRemaining. I don't think we need an aria-maxlength 16:54:47 Final suggestion on approach: 16:54:47 1. Map html maxlength to metadata on chars remaining 16:54:47 3. create aria-remaining-style attr to map chars remaining (including negative values) 16:54:47 4. check with AT vendors on if they like the idea, and if they could use existing events to do useful things (e.g. bonks) with it 16:55:26 1. create an empty mapping in HTML-AAM for input[maxlength] 2. propose a new aria-remainingchars and map it. to the same... 3. check with vendors 16:55:27 zakim, end meeting 16:55:27 As of this point the attendees have been jcraig, scotto, giacomo-petri, aardrian, Mario_Batusic 16:55:29 RRSAgent, please draft minutes 16:55:30 I have made the request to generate https://www.w3.org/2024/03/28-aria-dive-minutes.html Zakim 16:55:37 I am happy to have been of service, jamesn; please remember to excuse RRSAgent. Goodbye 16:55:37 Zakim has left #aria-dive 17:15:56 BGaraventa has left #aria-dive 17:26:33 s/what other events do you need. are the events already firing enough/not when, but what specific new event types do you need? the SR can query the remaining chars at any time, after any event. there are a number of events already firing, including on every char change. aren't those enough?/ 17:26:42 rrsagent, make minutes 17:26:43 I have made the request to generate https://www.w3.org/2024/03/28-aria-dive-minutes.html jcraig 17:33:53 present+ 17:33:57 rrsagent, make minutes 17:33:58 I have made the request to generate https://www.w3.org/2024/03/28-aria-dive-minutes.html Adam_Page