17:05:46 RRSAgent has joined #aria-dive 17:05:50 logging to https://www.w3.org/2023/11/16-aria-dive-irc 17:05:57 zakim, start meeting 17:05:57 RRSAgent, make logs Public 17:05:58 please title this meeting ("meeting: ..."), dmontalvo 17:06:22 meeting: Deep Dive on implicit value calculation 17:06:29 scribe: spectranaut_ 17:06:56 bryan: do we have any implementers in the meeting? we need them 17:07:10 bryan: we need an alternate computation of value 17:07:21 bryan: it's unclear to me and melanie what is meant by that 17:07:36 bryan: because value means something different depending on the element you are looking at 17:08:01 people say we don't necessarily 17:08:10 need implementers 17:08:26 mcking: what is the scope of it's usage 17:08:41 mcking: this is triggered by what I wrote in the combobox value description 17:08:57 mcking: I referenced part of accname.... 17:09:27 giacomo-petri has joined #aria-dive 17:09:48 Matt_King has joined #aria-dive 17:09:56 Rahim has joined #aria-dive 17:10:39 q+ 17:11:43 bryan: from what I understand, everyone thinks it should be in accname, but that is confusing to me because essentially, on the surface the value is simple. when its an input it is the value. its complicated when you have something like a contenteditable field. there is no value property. if you role=textbox on contenteditable, then you need the value someone. if there is a computation, it is the innerhtml of that field. this is 17:11:43 maybe different if you h ave a different type of element.... if it is that simple, just the innerhtml, you are going to get different results based on the different role you are using. different computations for different elements, it can change depending on implementation 17:11:45 q+ 17:11:52 ack Matt_King 17:12:21 Matt_King: before we talk about the difference between elements, if the select only combobox might night be that simple, innerhtml 17:12:48 Matt_King: maybe we should talk about the usecases first, what do we want to cover by having a value computation referenced, where would we use it, are we aligned on that 17:13:19 Matt_King: if it was only one or two aria roles that need a value computation, then maybe the discussion o fwhere it belongs isn't done, if it is simple maybe it should be in the ARIA spec 17:13:40 Matt_King: so it seems like we should get aligned on that first 17:13:47 ack jamesn 17:14:03 jamesn: while we are discussing what it is, lets discuss something other than value 17:14:17 jamesn: for select, the value is what is submitted internally, not what is displayed 17:14:24 jamesn: it may tie to the html values 17:14:25 q+ 17:14:42 Matt_King: it is the value that is the value in teh accessiblity tree 17:15:00 jamesn: may or may not be equivalent to the html value 17:15:13 jamesn: I think there is a potential for confusion 17:15:30 Matt_King: so we define a new thing, accessibleVale, accValues 17:15:38 bryan: how is that different from the value property in the APIs 17:15:57 jamesn: it will be the same for html elements, their own value calcuation 17:16:11 jamesn: for the aria only role=??, what is the value 17:16:19 bryan: it depends 17:16:33 bryan: I would expect it to be the innertext 17:16:42 bryan: but there is no defintiion 17:16:53 Matt_King: so how many places in the spec where we are actually missing that.... 17:17:47 Matt_King: I have also wondered, and this might be going to far out, there are some places where if we are using accname, where we actually kind of mean value... for example, gridcells, we have never said row and column headings are name, but if you compare to excel, the content of the cell is a value, and it may or may not have a name 17:17:55 jamesn: I think that is another case where a value is required 17:18:55 bryan: there is overlap, unfortunately, if you haev something simple, like a combobox, a div role="combobox", and it includes text, like "choose the value". in theory, the accessiblename would be the content f that element. basically, how would you assign a value ot that seperately 17:19:06 q? 17:19:12 Matt_King: the accessible value is "choose a value" and the combobox is required to have a name 17:19:28 bryan: name from content is supported for a combobox... or maybe it used to be? 17:19:49 Matt_King: it should be name from author is required 17:20:06 bryan: right now, because there is no value, name from content is being set as the name 17:21:02 Valerie: I am confused. I think that we just need to go through Matt's suggestion. Value may be calculated differently for different roles and that's how it should be 17:21:17 ... I guess someone should go through the spec and figure out what's best for each scenario 17:22:15 bryan: when I apply stuff to accname, I try to identify the points of failure. if we have a combobox, it is usually intuitively easy to understand what is the value or what is the name. a google doc as example, has rich context, you put role="textbox", then what is the value? 17:22:29 Matt_King: can it be multiple line rich text? 17:22:40 Matt_King: combobox is name from author only, it's required 17:22:46 Matt_King: ack spectranaut_ 17:23:09 Matt_King: if we look at all the things that as widgets.... we could talk about those for which value doesn't apply 17:23:12 ack spectranaut_ 17:23:23 s/Matt_King: ack spectranaut_ // 17:23:34 Matt_King: we have 20 widget roles 17:23:45 Matt_King: and some of them for sure, value doesn't apply, like a button 17:23:53 Matt_King: but a checkbox -- the checkbox has a state, so not a value 17:24:06 Matt_King: gridcell seems like it should have a value 17:24:20 q+ 17:24:21 Matt_King: link wouldn't... menuitem... 17:24:37 Matt_King: progressbar would probably have an value! 17:24:49 jamesn: someone of them support aria-valuenow/aria-valuetext 17:25:32 Matt_King: slider, searchbox, separator? (supports value now) would have 17:25:40 Matt_King: (lists the test) 17:26:44 Matt_King: composite, combobox yes, grid no, listbox yes, menu no, menubar now, radiogroup... no, tablist no, tree can have a value!, but would treegrid? no, 17:27:13 Matt_King: if we do have a problem with value right now, what AT do with slides and others, what is the point of valuenow if valuetext is required? 17:27:30 jamesn: but the screenreader might want to know the difference between min and max 17:27:48 Matt_King: we don't have "value-mintext" and "value-maxtest" 17:28:01 Matt_King: seems like they are related to the concept of accValue 17:28:13 jamesn: at doesn't do anythign useful with min and max atm 17:28:34 Matt_King: it is tangentially... but the fact that valuenow is in the spec, it is an accvalue thing 17:28:41 BGaraventa has joined #aria-dive 17:30:04 Mario: if there is no special attributes to set the textbox, searchbox and combobox -- we need label -- we have both to set, not only the value, doing it by text in the box, but we also need to put the label... in other places we have by author or by content. here we need both, by content and by author 17:30:28 Matt_King: that is why we need to specify the content piece, what does the browser do with the content piece 17:31:09 Mario: we have to put computation in accname, in aria spec, we say that it is different and we need both 17:32:40 Matt_King: I think we need to stringify the subtree.... of the element... so in combobox.... if you have div with role combobox and inside of it it include multiple elements that were being presented visually to display the value, the text that the author wants to be the value could be distributed among multiple elements, like the label on a button. for a button, we don't just say take the inner text. essentially, the 1.2 spec says 17:32:40 just stringify the subtree using the same rules as accname from content for a button 17:34:03 Bryan: I would be in favor of it being the same value... the name being "choose country", the value should be "united states", it should compute them separately. But I don't see if it has to be a different algorithm 17:34:15 Matt_King: but maybe there are things that don't apply in that algorithm 17:34:44 Matt_King: if you are saying the value of the listbox -- you take an option, you calc the accname of the option if you are naming the option from content 17:35:15 Matt_King: are there things that you would include int hat option that you would include in an accname calc that you wouldn't want in the value? 17:35:23 Bryan: you could make an example 17:35:30 jamesn: why though? 17:36:15 Bryan: it depends on... if you have css pseudo element content... and up down arrow that appears... that will be included in the calc 17:36:34 Bryan: should it be included in the value.. then yes if it is displayed 17:37:15 Matt_King: my assumption, if we would allow it when naming the button, why not when computing value 17:37:52 jamesn: the accname -- "embedded control" -- what you would use as a part of that is what you would use for the value calculation 17:37:59 jamesn: pull it out and refer to it 17:38:16 Bryan: there is a list in that section that has different roles, and what to return 17:38:42 Matt_King: I don't know the text alternative of a selected object is 17:39:43 Matt_King: lets imagine you have some kind of icon button... svg, text.. we have an algorithm for calculating the accname of that button. I think that if that button were now an option in a listbox, and we want to know what would you would use for the value of the listbox... you calculate it the same way 17:39:46 q+ to say that secondary actions are going to complicate this 17:40:11 Matt_King: that phrase, alternative text, is not defined 17:40:21 jamesn: it doesn't say how to calculate the value 17:40:44 jamesn: it is super handwavy.. and algorithm should be handwavey 17:40:57 Bryan: the difference between a selected option and a textbox, they aren't the same 17:40:59 ack me 17:40:59 jamesn, you wanted to say that secondary actions are going to complicate this 17:41:33 jamesn: I want to remember we have secondary actions... what we have today for a listbox, and option, in the future it might have other stuff (secondary action) that we wouldn't want to be part of the value.. .so whatever we write should work with that 17:41:50 Matt_King: we also need to check what is written for secondary action works with this 17:42:05 jamesn: there are probably ways around it, we need to be conscious of it 17:42:11 Matt_King: so bryan, is this much more clear now? 17:42:22 Matt_King: that the intent of having an accvalue algorithm? 17:43:33 Bryan: yeah that is clear for certain things... for an obvious thing like a button... we can identify those things. 17:43:42 bryan: that could be called out seperately 17:44:56 bryan: a lot of richtext use role="textbox" 17:45:28 bryan: if the algorithm populates the value for the control, the AT will be reading that instead of the content of the field -- i'm not sure but hope this doesn't happen 17:46:42 jamesn: my vision of this, is that "c" becomes "then return value as defined in"... then more out that part, and redefine it to make is usable in other places 17:46:55 jamesn: each that are different has something different in it 17:47:06 jamesn: no handwaviness 17:48:07 bryan: as far as where to put it.. a different section? 17:48:33 jamesn: yes, you have "text equivalent computation" calc, also, the "value computation" 17:49:11 Mario: for example you have a textbox, what would be the accname, and what would be the accvalue? the accname the label, and the value would be the value? 17:49:13 jamesn: yes 17:49:39 Bryan: if you are talking about a div with role="textbox"... 17:50:02 (scribe is getting tired) 17:50:32 q+ 17:52:18 spectranaut_: the embedded control section, more to a new section 17:53:08 +1 to the proposal 17:53:53 Bryan: I'll talk to melanie. the first step is easy, to move it out 17:54:13 Bryan: what I'm not clear on it how to define namefromcontent...we can work that our later 17:54:31 Matt_King: we might need to repeat some parts of the other algorithm.. maybe you can reference 17:54:43 jamesn: maybe other parts of the algorithm can be more out 18:03:28 zakim, end meeting 18:03:28 As of this point the attendees have been (no one) 18:03:29 RRSAgent, please draft minutes 18:03:30 I have made the request to generate https://www.w3.org/2023/11/16-aria-dive-minutes.html Zakim 18:03:37 I am happy to have been of service, spectranaut_; please remember to excuse RRSAgent. Goodbye 18:03:38 Zakim has left #aria-dive