17:49:36 RRSAgent has joined #openui 17:49:36 logging to https://www.w3.org/2021/06/03-openui-irc 17:50:26 gregwhitworth has changed the topic to: Open UI Telecon: https://github.com/openui/open-ui/blob/main/meetings/telecon/2021-06-03.md 17:56:12 chrisdholt has joined #openui 17:57:51 Zakim, start the meeting 17:57:51 RRSAgent, make logs Public 17:57:52 please title this meeting ("meeting: ..."), gregwhitworth 17:57:59 meeting: Open UI Telecon 17:58:03 chair: Greg Whitworth 17:59:18 flackr has joined #openui 18:00:03 neovalk has joined #openui 18:01:19 present+ 18:01:22 present+ 18:01:28 present+ 18:01:29 present+ 18:01:56 una has joined #openui 18:02:02 masonf has joined #openui 18:02:02 present+ 18:02:05 present+ 18:02:10 present+ 18:02:10 (because I forgot) 18:02:21 brodym has joined #openui 18:02:23 present+ 18:03:30 scribenick: melanierichards 18:03:53 present+ 18:03:56 present+ 18:04:06 una: anchor pos explainer is out! Take a look 18:04:29 regrets+ 18:04:40 https://github.com/openui/open-ui/blob/main/meetings/telecon/2021-06-03.md 18:04:44 davatron5000 has joined #openui 18:04:49 https://github.com/openui/open-ui/issues/251#issuecomment-839330098 18:04:51 present+ 18:04:57 topic: #251 18:05:14 andrico_ has joined #openui 18:05:50 Here's that explainer to take a look at later: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/CSSAnchoredPositioning/explainer.md 18:07:02 leo: started researching radio buttons, thought it would be as simple as a checkbox. Radio buttons, they work kind of like select boxes. Allow us to choose one option from a set of options. While the checkboxes only allow us to set a bool value for one input. The radio buttons, they are mostly a different layout for a select box. They allow us to choose from several options, only one. Main diff being layout allows us to decide where 18:07:02 we want to make the info readily available for user to see, or maybe we want to compress every option in a single line (select box) 18:07:33 present+ 18:07:54 bkardell_ has joined #openui 18:08:25 leo: radio buttons have quirks that select box doesn't have. Radio buttons could have a similar structure than select box. Could have a tag for a radio button group, and a different tag for every option in the group, a label for the options, much like select box. Could slap an attr to a select box and have it behave visually like a radio group, logic is so similar. However, would lose flexibility radio buttons give us. Could break 18:08:25 the component apart, place the radio buttons all over the page and have them bound together by the name attr, even though they are visually apart 18:08:39 q+ 18:09:13 q+ 18:10:19 leo: if we tried to change the structure of the HTML of a radio button group to like a select box, we would lose this flexibility. Radio button grouping is a little weird. When we talk about labels, every input field has its own label. Could bind w/ for attr. When we're talking about the radio buttons, we're not talking about the group, we're talking about each option. It's like we have a select box and label each option. We don't 18:10:19 have label for the group. Would need fieldset w/ legend. While this is ok, this is a diff use for the fieldset. Grouping a single input result instead of different inputs. All part of a single possible choice. 18:10:26 present+ 18:12:33 leo: wouldn't be a big problem but there are some cases where we can make semantic differential scale, can build a table with a question in each row, each column has a radio button that represents an answer to that question. If we actually use tables, we don't have anywhere to put the fieldset. Would have to make the whole table a fieldset. But if we need a single table w/ all the inputs, then we miss a place to put a fieldset for 18:12:33 the radio buttons. This is kind of an edge case but we see this type of layout a lot, presume other situations where we have to retain the flexibility of the radio button groups, we have to make an HTML structure that would actually allow us to group them not with fieldsets. Need something other than just the name attr. And maybe this would make it less repetitive. Maybe wouldn't need to repeat the value for every instance of the 18:12:33 input field 18:12:50 q? 18:13:38 I think x-forms was like this 18:16:14 leo: [presenting] could have a structure similiar to select box, but that would limit flexibility. Can't use fieldsets for each row because we'd break the table apart. Need some binding to group the table as a whole. Table cell with question and inputs with labels bound by name attr, the only thing that binds them with the question is the [table semantics] Could have special tag for group label that has an attr that binds it to the 18:16:14 name attr of all the radio buttons. Or we could have, as suggested on the issue, maybe have only one input field that represents the selected choice. The radio button would actually be the question. The value of the whole group would be set on this input. The answers would be a use for the