12:42:16 RRSAgent has joined #pwg 12:42:16 logging to https://www.w3.org/2018/05/31-pwg-irc 12:42:17 rrsagent, set log public 12:42:17 Meeting: Publishing Working Group F2F, Day 2 12:42:17 Chair: Tzviya, Garth 12:42:17 Date: 2018-05-31 12:42:17 Regrets+ 12:42:17 Agenda: https://tinyurl.com/y9g4fgat 12:42:17 ivan has changed the topic to: Meeting Agenda 2018-05-31: https://tinyurl.com/y9g4fgat 12:42:25 present+ 12:42:37 present+ 12:42:42 present+ 12:42:46 present + 12:42:48 laudrain has joined #pwg 12:42:52 present+ 12:42:53 present+ 12:42:58 present+ Luc 12:43:03 present+ dauwhe 12:44:11 Avneesh has joined #pwg 12:44:19 present+ bigbluehat, marisa, charles, rickj, leonardr, george, avneesh, tzviya, rachel 12:44:33 tzviya has joined #pwg 12:44:36 present+ 12:44:46 garth has joined #pwg 12:46:08 scribenick: duga 12:46:14 scribenick: duga 12:46:31 RickJ has joined #pwg 12:46:37 present+ RickJ 12:46:48 Ivan: Some remarks before the topic 12:46:58 George has joined #pwg 12:47:02 Rachel has joined #pwg 12:47:08 ... there is a new column in the wiki for where we got 12:47:17 present+George 12:47:23 ... please cross check to make sure it is correct (AI for all) 12:47:31 https://github.com/w3c/wpub/wiki/Descriptive-Infoset-Properties-vs.-Schema.org-table 12:47:57 Tzviya: This will be Minday's agenda item 12:48:07 guest+ Kroner_the_Wonderful_Guide_Dog 12:48:08 BenWaltersMS has joined #pwg 12:48:11 s/Minday's/Monday's/ 12:48:13 s/Minday's/Monday's? 12:48:14 present+ 12:48:30 dkaplan3 has joined #pwg 12:48:30 Topic: Affordances and use cases 12:48:31 present+ Garth 12:48:39 present+ 12:48:42 present+ 12:48:53 ... some of know what affordances mean 12:49:02 ... some prefer functionality as a word 12:49:18 ... basically, what should a UA do when it sees things from our spec 12:49:34 ... ties in to use cases, which provide stories of what we want to happen 12:49:58 ... make sure use cases represent what we need 12:50:09 ... and make sure affordances issues we have are up to date 12:50:49 ... Make sure everyone has an assignment to write an affordance section 12:51:10 q+ 12:51:20 ... George and Avneesh can help with templates/writing 12:51:46 Ivan: to help Matt, if there are no problems, put it in a pull request 12:52:32 Tzviya: Will send out a recording on Respec training session 12:52:54 ... Need to address UA vs document requirements/expectaitions 12:53:07 q? 12:53:10 ack ivan 12:53:10 https://github.com/w3c/wpub/labels/topic%3Aaffordances 12:53:16 marisa has joined #pwg 12:53:36 https://w3c.github.io/wpub/#wp-affordances 12:54:51 bigbluehat: Use cases are a story of what tasks we want to do 12:55:08 ... affordances are the things in a document that allow those stories to happen 12:56:00 ... Mugs afford holding things. 12:56:30 see mugs: https://en.wikipedia.org/wiki/Affordance 12:56:40 tzviya: Let's look at github 12:57:15 ... look at issue 134 12:57:21 https://github.com/w3c/wpub/issues/134#issuecomment-385011630 12:57:26 rdeltour has joined #pwg 12:57:55 zheng_xu has joined #pwg 12:57:56 ... dependencies, requirements, examples, and how to test for each affordance 12:58:56 ... assigning AIs to people (going through the issues) 12:59:21 q? 12:59:27 present+ 13:00:06 david_stroup has joined #pwg 13:00:15 tzviya: bookshelf is afforded by our spec, but will not write a bookshelf spec 13:00:28 bigbluehat: But we can afford things that will help (eg cover) 13:00:42 wendyreid: Don't tell us what to do with the bookshelf 13:00:55 tzviya: Consensus: close the issue 13:01:14 q? 13:01:15 q+ 13:01:30 DavidWood: Should we have a resolution that says we commit to providing this stuff as part of the spec? 13:02:13 wendyreid: We need enough information to provide a shelf (eg series) 13:02:36 ack leonardr 13:02:42 q+ 13:02:49 tzviya: Resolution: we will provide metadata, and UA can do whatever we want with it 13:03:17 Proposed Resolution: minimal metadata required for a shelf system to present a publication are: identifier and title OR cover? 13:03:26 leonardr: Remove section 7.2 13:03:42 ack RickJ 13:03:44 Proposed Resolution: minimal metadata required for a shelf system to present a publication are: identifier and title OR cover? Remove Section 7.2 13:04:19 present+ 13:04:23 RickJ: We are saying we will supply something. Are we saying this is the *only* way? 13:04:30 q+ 13:04:39 ack bigbluehat 13:05:15 +1 13:05:17 +1 13:05:18 +1 13:05:18 +1 13:05:18 +1 13:05:18 +1 13:05:19 +1 13:05:20 +1 13:05:21 +1 13:05:21 bigbluehat: There will be more metadata, but there should be minimal info available. 13:05:21 +1 13:05:24 +1 13:05:25 +1 13:05:26 +1 13:05:26 +1 13:05:27 +1 13:05:27 zheng__xu has joined #pwg 13:05:28 +1 13:05:28 +1 13:05:29 q? 13:05:29 +1 13:05:32 +1 13:05:36 Resolved: minimal metadata required for a shelf system to present a publication are: identifier and title OR cover. Remove Section 7.2 13:05:37 +1 13:05:40 present+ 13:06:06 present+ 13:06:13 present+ 13:07:18 present+ 13:07:41 https://github.com/w3c/wpub/issues/145 13:07:57 q+ 13:08:20 Subtopic: reading state 13:08:20 ack Rachel 13:08:21 bigbluehat: This is reading state 13:08:22 q+ 13:08:33 q+ 13:08:47 ack garth 13:08:52 q+ 13:08:57 wendyreid: Is this local or remote? 13:09:01 q+ 13:09:19 garth: What are we saying? Is this in scope? 13:09:36 ack bigbluehat 13:09:44 i/Let's look at github/Subtopic: bookshelfs/ 13:10:00 bigbluehat: Saving state on a web page means knowing scroll location 13:10:14 ... Then it is up to the UA to remember that state 13:10:49 ... in a WP, there is a way to get to resource X, and remember where we are in that resource (scroll location? Page? etc) 13:11:09 q? 13:11:19 ack dauwhe 13:11:23 tzviya: Need to have information for what authors need to do, and what UA need to do with it 13:11:23 q? 13:11:27 ack wendyreid 13:11:41 ivan: And need the minimal information (most important) 13:11:58 q+ 13:11:58 q+ 13:12:01 q 13:12:02 q+ 13:12:10 q+ 13:12:24 wendyreid: Have to make reading state a possibility, but up to UA to decide if local or remote, etc 13:12:35 ack bigbluehat 13:12:44 wendyreid: Will write this issue [yay!] 13:13:21 q+ 13:13:32 q+ 13:13:44 q- 13:13:48 q- 13:13:55 bigbluehat: For this case, one thing we might need is reading direction (or maybe not) 13:14:29 George: When wp are updated, can we say anything about ids on elements? Or will they just always be trashed? 13:14:33 ack George 13:14:38 q- 13:14:47 q- 13:15:00 bigbluehat: What does keeping them around afford? 13:15:05 ... Return to anchor? 13:15:27 George: Yes. Having ids that don't change would help the industry. 13:16:15 q+ 13:16:24 q+ 13:16:31 q- 13:16:56 rachel +1 13:16:57 +1 to assigning things and solving them async 13:17:05 Rachel: Let's just assign here, not discuss in detail here 13:17:15 Suptopic: moving forward and backward 13:17:20 https://github.com/w3c/wpub/issues/144 13:17:33 bendugas has joined #pwg 13:18:06 Rachel: I'll take 144 https://github.com/w3c/wpub/issues/144 13:19:05 dauwhe and bigbluehat can take 144 13:19:38 dkaplan3: What is the schedule one these? 13:19:43 https://github.com/w3c/wpub/issues/140 13:19:46 tzviya: Will discuss that shortly 13:20:53 q? 13:21:02 ack Rachel 13:21:10 tzviya: Close issue 140? 13:21:35 q? 13:21:37 bigbluehat: If we know what is navigable that affords the ability to navigate to it 13:21:57 marisa: Do we need more than just 1 view of the TOC? 13:23:23 Avneesh: propose closing the item just assigned to clapierre 13:23:59 leonardr: propose closing issue 137 13:24:09 tzviya: This is already in the draft 13:24:22 Rachel: Important for education, can't just dismiss it 13:24:27 q? 13:24:29 q+ 13:24:42 leonardr: UA can paginate or not 13:25:03 garth: This is just UA paginatiing the content 13:25:22 Rachel: The use case for EDU which is real pages is in this section (use cases) 13:25:29 ack ivan 13:25:39 q? 13:25:47 q+ 13:26:20 ivan: The real question is, pagination is important, UAs will do it how they want, but does the info set have everything the UA needs to do it? 13:26:23 q+ 13:26:27 ack garth 13:26:40 garth: We have spine, we have html, that can be paginated 13:27:03 ... This issue is about UA paginating, we should close and make a new issue for going back to real pages 13:27:09 q+ 13:27:25 tzviya: Page numbering != page layout (css) 13:27:35 q+ 13:27:37 ... still need page numbering affordance 13:27:59 josh: Would like this issue 13:28:01 q? 13:28:12 ack josh 13:28:17 ack leonardr 13:28:25 ack dkaplan 13:28:26 ... Will say no more here. Will put it in github. 13:28:41 ack dkaplan 13:28:48 dkaplan3: request we stop using the word pagination. 13:28:50 +1 to dkaplan3's request for nuance in language about pagination 13:29:00 +1 to dkaplan3 13:29:01 ... should explicitly state what it means 13:29:04 +1 to dkaplan3 13:29:04 +1 dkaplan3 13:29:16 q? 13:29:54 tzviya: issue 135 13:30:04 ... already proposed to close. Let's do it! 13:30:10 ... Vote to close 13:30:14 +1 13:30:19 Propose: closing #135 13:30:23 https://github.com/w3c/wpub/issues/135 13:30:23 +1 13:30:25 +1 13:30:28 +1 13:30:31 +1 13:30:34 +1 13:30:38 q+ 13:30:38 +1 13:30:47 ack bigbluehat 13:30:54 q+ 13:30:55 +1 13:31:20 q+ 13:31:54 q? 13:31:55 bigbluehat: If data is included, can it be directly navigated to? Are we restricting by type? 13:32:11 q? 13:32:11 ack leonardr 13:32:14 q+ 13:33:01 leonardr: Resource list might want something to say what the resource is intended for 13:33:13 ack ivan 13:33:31 ivan: This will come up when we discuss structure later 13:34:25 ack DavidWood 13:34:28 ... we need to add a way to specify the role, type, etc 13:34:36 ... so we need an affordance 13:34:58 DavidWood: Published documents are where data goes to die 13:35:07 plinss has joined #pwg 13:35:12 ... How do we cite, use, etc, published data? 13:35:24 q+ 13:36:07 Data management in scholarly publications is a massive problem that will not be solved by WPs, though. 13:36:26 ... Suggest not closing this 13:36:28 Size of the data may also be a factor here along with type. 13:36:58 laudrain has left #pwg 13:36:59 George: This issue impacts a11y 13:37:06 q+ 13:37:12 laudrain has joined #pwg 13:37:16 cmaden2 has joined #pwg 13:37:18 ... eg chemistry formulas that can be manipulated 13:38:01 tzviya: Alternative modalities issue 13:38:23 ... enable audio books, graphic books, mixed media 13:38:39 ... could have 2 in 1 (picture book with audio) 13:38:39 q? 13:38:48 ack George 13:39:03 q+ 13:39:17 q- 13:40:01 ack garth 13:40:24 garth: in the real world, audiobooks are whatever you get (hard drives, etc) 13:40:49 q+ 13:41:06 ... But this is about multiple renditions, let's not address it here 13:41:07 q+ 13:41:26 ivan: Still don't understand what 133 says 13:41:34 q+ 13:41:56 ack dauwhe 13:42:08 marisa: Having multiple media types [?] at the same time 13:42:26 dauwhe: Can an item in the default reading order be an audio file? 13:43:11 dauwhe: UA have proscribed behavior for dealing with raw audio files 13:43:45 ivan: Can we just require the entry point be html, and let the current standards handle the rest? 13:43:51 https://html.spec.whatwg.org/multipage/browsing-the-web.html#read-media 13:44:05 q? 13:44:09 ack Avneesh 13:44:17 Avneesh: This overlaps with 135 13:44:24 ... need navigable audio 13:44:42 ack bigbluehat 13:44:59 q+ 13:45:19 bigbluehat: There is a text version, there is an audio version, etc, this is chapter 1 13:45:53 ack dkaplan 13:46:00 garth: That is multiple renditions, let's not do it 13:46:01 q+ 13:46:16 ack George 13:46:41 George: Does this item deal with TTS? 13:46:58 q? 13:47:30 ivan: Not really, since html already provides that affordance 13:47:45 tzviya: Issue 138. This has been beaten to death 13:47:49 ... propose we close it 13:48:02 Close: https://github.com/w3c/wpub/issues/38 13:48:11 s/138/38/ 13:48:46 Avneesh: Back to page numbers - are we splitting? 13:49:00 tzviya: The assignee will split it 13:49:16 tzviya: Issue 146 13:49:47 ... thinks this is already accomplished 13:49:56 RickJ has joined #pwg 13:49:59 ... but still need spec text 13:50:20 George: Doesn't understand scope of TOC? Authored? UA generated? 13:50:38 tzviya: Generally authored, but could be generated, but always needs to be available 13:50:45 George: Will TOC be required? 13:50:53 ivan: It is in the basic infoset 13:51:03 George: Required? 13:51:07 ivan: No. 13:51:34 tzviya: Thinks TOC should be required 13:52:04 George: Is there just one TOC? 13:52:09 q+ 13:52:20 q? 13:52:20 josh: Not happy there is a nav and manifest toc 13:52:36 ivan: Yes, there is a mechanism whose aim is that a TOC appear only once 13:52:49 ack dkaplan 13:53:10 tzviya: Issue 149, search 13:53:25 bigbluehat: Search as a service, and an affordance 13:53:30 q? 13:53:31 Subtopic: search 13:53:43 q+ 13:53:49 ... what do we need to know as a publication to enable search? 13:53:58 ack ivan 13:54:00 q+ 13:54:07 ... What is navigable? etc 13:54:28 ivan: Search in UA and search somewhere else on the web 13:54:48 ... need to separate these two. Search service is out of scope. 13:54:59 ... we need to look at local UA search 13:55:08 tzviya +1 13:55:10 tzviya: Who wants this item? 13:55:43 leonardr: Will take it 13:57:02 Topic: Structural property 14:15:27 zheng_xu has joined #pwg 14:20:37 BenWaltersMS has joined #pwg 14:20:42 scribenick: BenWaltersMS 14:22:16 topic: Structural Properties 14:22:40 q+ 14:22:51 JunGamo_ has joined #pwg 14:22:56 ack leonardr 14:23:12 ack ivan 14:23:27 rdeltour has joined #pwg 14:23:33 https://w3c.github.io/wpub/#infoset-structure 14:24:00 ivan: For structural properties, we have two different categories of issues. Structural properties under different headings are links to various types of resources. 14:24:27 rdeltour_ has joined #pwg 14:24:33 ... Before we discuss the details of these lists, we need to talk about how we reference these types of resources. A simple URL may not be enough, and we need to define how we handle these links in general. 14:25:10 q+ 14:25:26 ack leonardr 14:25:40 dauwhe has joined #pwg 14:25:42 leonardr: what is table of contents in this context? 14:25:57 q+ 14:25:59 q? 14:26:13 tzviya: TOC is the primary method of navigation for most users, generally left to the author or publisher to define 14:27:07 ack dauwhe 14:27:40 "spine": [ "a.html", "b.html", "c.html", "d.html", "e.html" ] 14:27:45 q+ 14:28:07 q+ 14:28:19 {"href": "c001.html", "type": "text/html", "title": "Chapter 1"}, 14:28:25 ivan: the first question--how do I represent external links in json manifest? Do we need to require a media type? Do we need additional metadata like required/not, etc.? 14:29:26 q+ 14:29:47 q+ 14:29:50 or more completely "spine": [ {"href": "c001.html", "type": "text/html", "title": "Chapter 1"}, {"href": "c002.html", "type": "text/html", "title": "Chapter 2"}] 14:29:52 q+ 14:30:03 DavidWood has joined #pwg 14:30:06 q+ 14:30:35 dauwhe: pasted above are a few possible serializations of resource links, either simple, or with additional metadata. I don't want to reflexively take on the complexity of EPUB where we have to look up mime types for every resource type that does not benefit the author. 14:31:20 ack tzviya 14:31:28 ... I want to avoid making the simple case that complex. For cases like moby dick, repeating mimetype more than 100 times is not great 14:32:22 q? 14:32:27 tzviya: we need to take into consideration things like CSV files. Is it too hard for a machine to understand that .CSV is a CSV? 14:33:19 Brady: I have no intention of using the media type for primary cases. There may be cases where we need the media type to skip things like images. 14:33:22 ack bigbluehat 14:33:34 https://github.com/BigBlueHat/this-is-not-a.pdf 14:33:39 q+ to ask whether much of the infoset will be ignored 14:35:17 bigbluehat: these lists need to afford some functionality for users. The model for the web is that the browser only cares about things like types when it tries to render the actual content. It doesn't guess from the URL or anything provided by the user. 14:36:10 ... there are additional things like type="text/csv" where a browser can be informed in advance of more information. Browsers will still render the format detected after following the link, even if it's different than the type declared in the link. 14:36:17 ack josh 14:38:52 q+ 14:38:56 ack ivan 14:39:08 josh: I have a dream of a single file web publication. Originally, web pages were linear simple entities with an ordered hierarchy... I hope that that for simple cases, I can tag the HTML to support features like navigation without having to create external resources, repeat structural data, etc. 14:40:41 q+ 14:41:13 ivan: Right now, we can do a one file publication (by putting the data in a script element in the page). My proposal for links from the manifest is that references can either to be a URL directly as a string or an object that may contain additional metadata about the link. 14:41:25 "spine": [ "a.html", { "href": "b.html", "media-type": "text/html", "rel": "toc" }, "c.html", "d.html", "e.html" ], 14:42:04 +1 to Ivan 14:42:33 ... we can work out details about whether we use various rel/extended vocabularies for specific features like cover or privacy policy, but we need a mixture of simple and complex references to enable these scenarios. 14:42:35 ack leonardr 14:42:36 http://schema.org/StructuredValue 14:42:43 http://schema.org/fileFormat 14:42:45 q- 14:43:35 leonardr: in the spirit of using elements of schema.org whenever applicable, there are some existing schemas that may apply to resource lists/files, etc. pasted above. 14:43:43 ack zheng_xu 14:44:38 q? 14:44:40 q+ 14:45:10 zheng_xu: just to clarify: TOC is not reading order, and things like media type is less important for TOC, more important for the core reading order. For example, we use metadata about resources to determine how to load resources--to include MathJax, for example 14:45:28 q? 14:45:33 ack laudrain 14:45:55 ... media types can be helpful for cases where UAs need to understand content types without loading all of that content 14:46:44 laudrain: For accessibilty, we need a real navigation list which is not the same as visual content. 14:47:43 ack bigbluehat 14:47:51 ... book content comes in the form of multiple HTML files, in contrast with scholarly publications. Whether or not this is required for performance, this is how content is created, and being able to represent that in metadata is necessary. 14:48:33 bigbluehat: mixing flat strings and JSON objects in the same arrays makes parsing difficult. 14:49:17 present+ 14:49:35 q? 14:49:37 q- 14:49:38 q+ 14:49:52 ... we should require the most minimal set of data possible. When something like a TOC can be reasonably inferred from a reading order, we shouldn't require publications to specify the TOC separately. 14:50:13 ack ivan 14:50:42 ... we should map these decisions to use cases and affordances whenever possible so that future reviewers and implementers can understand how these types of data should be used. 14:51:46 In case of conflict, consider users over authors over implementors over specifiers over theoretical purity. In other words costs or difficulties to the user should be given more weight than costs to authors; which in turn should be given more weight than costs to implementors; which should be given more weight than costs to authors of the spec itself, which should be given more weight than those proposing changes for theoretical reasons alone. Of co 14:51:46 urse, it is preferred to make things better for multiple constituencies at once. 14:51:48 ivan: If I have a choice between making authors and authoring tools or UAs more complex, I choose to make UAs more complex if it makes the life of authors easier. 14:52:22 q? 14:53:32 q? 14:55:25 Proposal: URLs in the "manifest" can be represented as either JSON strings or objects, where the string is interpreted directly as a URL. A list of URLs can thus be represented by an array of either strings or objects. 14:55:26 rkwright has joined #pwg 14:55:42 George: have we defined the starting position for reading a publication? 14:55:49 tzviya: not yet 14:56:03 present+ (again, WebEx crashed MacOS the first time) 14:56:20 q+ to ask if this is going to be JSON-LD processable or not 14:56:48 ack bigbluehat 14:56:48 bigbluehat, you wanted to ask if this is going to be JSON-LD processable or not 14:57:06 ivan: we can explore whether schema.org vocabularies apply to this or not 14:58:12 bigbluehat: I'm concerned that we're creating a hypermedia format, there may be unexplored implications with JSON-LD, etc 14:58:20 https://github.com/dauwhe/html-first/wiki/WPUB-examples# 15:00:51 ivan: to clarify, this discussion and proposal are about a list of "stuff"/resources. We'll talk about specific lists like the reading order separately. 15:04:27 “What Dave is drawing: “stuff”: [ "a.html", { "href": "b.html", "media-type": "text/html", "rel": "toc" }, "c.html", "d.html", "e.html" ] 15:06:03 q+ 15:06:48 q+ 15:07:15 bigbluehat: if we limit this to the reading order and it doens't take on things like title attributes, it's ok. There may be implications to complexity beyond parsing to mix objects and simple strings. Things like identity can become complex. 15:07:17 q+ 15:07:47 ... so, I want to see clear affordances that explain the requirements for these data 15:07:51 ack marisa 15:08:46 ack dauwhe 15:08:51 q- 15:09:30 marisa: we have a lot of additional considerations around accessibility once we talk about how these lists are used, but that's later. Mixing objects and strings in lists like this seems to be common in various other places that JSON is used. 15:09:45 +1 15:09:50 George: is there a reason not to require objects in all cases? 15:09:54 +1 to garth 15:10:00 +1 to JSON 15:10:04 +1 15:10:05 +1 15:10:06 +1 15:10:07 +1 15:10:07 -0 (in favor of moving on) 15:10:09 +1 15:10:11 +1 15:10:14 +1 15:10:16 +1 15:10:17 +1 15:10:22 +1 depending on where this gets used 15:10:22 Garth: various people would be unhappy, particularly those people trying to create the simplest web publications. 15:10:41 Resolved: URLs in the "manifest" can be represented as either JSON strings or objects, where the string is interpreted directly as a URL. A list of URLs can thus be represented by an array of either strings or objects. 15:10:45 +1 15:10:52 q+ 15:10:55 +0 / +1 (for the same reasons as marisa) 15:10:57 ack dauwhe 15:11:35 q? 15:11:38 q+ 15:11:58 dauwhe: the fundamental thing we need for a WP is a defautl reading order which affords navigation through a web publication, and it's the most fundemental piece of the web publications spec. 15:12:02 q+ 15:12:36 q+ 15:12:52 ... there needs to be a mechanism to determine the next and previous resources to render. There are other alternatives in the world that haven't be used too widely like 15:13:24 ... a resource list in a manifest is a clear way to do this 15:13:59 “spine (or a term to be named later)”: [ { "href": “cover.html”, "media-type": "text/html", "rel": “cover” }, “a.html", { "href": "b.html", "media-type": "text/html", "rel": "toc" }, "c.html", "d.html", "e.html" ] 15:14:00 ack garth 15:14:01 ... browsers can recover from situations where metadata may be incorrect. For example, if a list says that a resource is HTML, but the item served to the UA is a jpeg, the UA will rendered a jpeg. 15:14:49 ack rdeltour 15:15:15 garth: this is an example of a reading order...simplified to avoid discussions around things like can a resource be an image or not. 15:15:23 q+ 15:15:53 q+ 15:16:17 + ∞^∞ to Romain 15:16:19 ack david_stroup 15:16:51 +1 rdeltour 15:16:56 rdeltour: we need to consider how the UA will expose reading order in the DOM, and how this will be abstracted to the User/UA 15:17:00 Avneesh has joined #pwg 15:17:15 ack dauwhe 15:17:26 +1 to DOM API 15:17:53 david_stroup: we need to see what user agents will do/require/etc. and talk about implementations. 15:18:49 q+ 15:19:16 ack leonardr 15:19:27 dauwhe: there's an existing HTML element that already represents data like this--the nav element. Perhaps defining the API on top of the resource list can account for the various types of publications/creators/etc. 15:20:04 leonardr: the DOM is the document object model, not a higher level concept that doesn't exist today. 15:20:09 +1 to leonardr 15:20:31 ... it is the right thing and a logical extension of the DOM today, but it's a big leap from what exists todya 15:20:39 tzviya: we're not able to do that 15:21:04 leonardr: if we don't do that, it's not clear how that information is useful and can be exposed through APIs if there isn't a concept beyond DOM 15:21:06 ack zheng_xu 15:21:22 q+ 15:21:36 The reverse is even worse: If we presume that the DOM represents a super-DOM concept, then we break the model. 15:21:59 zheng_xu: reading systems can create/inject APIs to represent things like reading order 15:22:13 +1 to DavidWood! 15:22:35 q+ 15:22:56 ack bigbluehat 15:23:11 ... information on things like TOC also needs to be inferred by reading systems, whether that's simple or inferred from external resources 15:23:36 https://w3c.github.io/wpub/#wp-default-reading-order 15:23:45 garth: the existing spec draft allows both the default reading order and navigation 15:24:00 q+ 15:24:05 q- (as I've lost the thread) 15:24:07 q+ 15:24:12 Hadrien has joined #pwg 15:24:15 present+ 15:25:06 https://w3c.github.io/wpub/#processing-reading-order 15:25:06 ivan: we may simplify the existing algorithm to require that the nav/TOC be in the start page, but otherwise, we have a plan/solution 15:25:29 tzviya: what's the purpose of the API proposed by rdeltour? 15:25:59 rdeltour: to expose data like reading order in an API 15:26:38 ivan: it may be interesting to define this information in IDL, but we shouldn't say that it's part of the DOM 15:28:57 rdeltour: I think it's important to require user agents to expose this information in APIs. The serialization of these lists is less important than the APIs that will be exposed. 15:29:39 q? 15:29:41 Garth: serialization is the best we can really talk about now without having many browser folks around the table who can talk about APIs in the DOM/super DOM/etc. 15:29:44 ack duga 15:29:47 ack DavidWood 15:30:00 zheng_xu has joined #pwg 15:30:11 q+ 15:30:15 q+ 15:30:35 ack leonardr 15:30:55 "The WG will specify Web Publications and identify what they need the underlying Web platform to provide. " 15:31:04 DavidWood: adding API requirements for user agents may be way beyond the scope of the WG. +1 to Ivan, and we should move the conversation away from DOM and super-DOM. 15:32:00 leonardr: we do need to describe "data structures"--a standardized way in which the material that goes into the publication is manifested conceptually in a UA so that it can be used for various affordances. 15:32:10 ack George 15:32:58 q- 15:32:59 Gorge: beyond the default reading order, are we planning on having lists of secondary resources like CSS, etc.? 15:33:07 s/Gorge/George 15:33:38 q+ 15:33:45 q+ 15:34:11 ack zheng_xu 15:35:13 ack rdeltour 15:35:42 q+ 15:35:43 Garth: The bounds of a publication for things like online/offline are separate from the default reading list and also important for publications. 15:35:55 ack ivan 15:35:58 https://www.w3.org/2017/04/publ-wg-charter/ 15:36:37 q+ to ask about what we call the reading order and what we call the other resources 15:37:56 Our charter says, "The WG will specify Web Publications and identify what they need the underlying Web platform to provide." My reading of UAs being out of scope hinges on my interpretation of the term "Web platform" - The Web platform does not include UAs, nor their detailed implementation requirements such as API support. 15:38:05 ivan: we should be careful about revisiting fundamental philosophical questions. We currently have a default reading order defined in the spec. We should move forward to define how other structural resources will be defined in the manifest. 15:38:41 ack DavidWood 15:38:57 @DavidWood ok thanks. The Web Platform does include defining APIs of course, so I still think it's in scope 15:39:13 ack dauwhe 15:39:13 dauwhe, you wanted to ask about what we call the reading order and what we call the other resources 15:39:14 ... We may want to extend the spec to define the algorithms to intrepret each list of resources we're describing and build a conceptual representation of that data, but not APIs. 15:39:31 dauwhe: should we discuss what we're calling these lists? 15:39:34 tzviya: not today 15:39:51 attempt to locate a table of contents in the default reading order (e.g., an HTML document with a nav element that has the role attribute value doc-toc); 15:39:51 use the titles of the resources in the default reading order; 15:39:51 calculate a table of contents using its own algorithms. 15:40:07 https://w3c.github.io/wpub/#wp-table-of-contents 15:40:44 q+ 15:40:49 q+ 15:40:50 ack marisa 15:40:51 q+ 15:40:59 tzviya: question: do we like this method? do we have other ideas? 15:41:58 marisa: The language around user agents may be backwards. I would stop short of saying that the user agent should/could derive a table of contents if not provided. 15:42:02 +1 to marisa 15:42:09 ack bigbluehat 15:42:12 +1 as well 15:42:25 q+ 15:43:10 q+ 15:43:35 jbuehler has joined #pwg 15:43:43 ack dauwhe 15:43:55 ack josh 15:44:00 bigbluehat: Defining the TOC from the reading order is backwards, would not be accessible, and is generally bad. The opposite is not true, so it's reasonable to derive a reading order from the more complex TOC. 15:44:44 q? 15:44:51 josh: if there's a nav element on the entry page, then that is sufficient. 15:45:21 ... if that data can't be found on that page, then we need things like the JSON-LD manifest to give user agents a way to find the information. 15:46:37 q+ 15:46:49 ... we should be careful if we're muddying accessibilty and structural semantics. Is role=doc-toc ok for this purpose? 15:47:04 ack marisa 15:47:12 if the reading order is "c1.html", "c2_part1.html", "c2_part2.html", "c3.html" .. and the TOC is "chapter 1", "chapter 2", "chapter 3", then deriving the reading order from the toc won't work. 15:47:26 q- 15:47:26 q+ 15:47:31 q+ 15:47:47 tzviya: it's acceptable in this case as long as it's on a nav element, though check with me for all other mixes of ARIA + structural semantics 15:47:48 q+ 15:47:53 ack zheng_xu 15:48:17 zheng_xu: can we force the TOC to include all of the items in the reading order? 15:48:43 present+ Hadrien 15:49:34 ... for navigation features like scrollbar, we can use TOC to give the user an indicator of where he/she is. 15:50:03 ... to do that well, we need all of the resources in the TOC. Can we include this requirement? 15:50:14 q? 15:50:18 ack dauwhe 15:50:39 tzviya: we cna't require this universally, but it may be a best practice 15:50:40 q+ 15:51:32 ack duga 15:51:36 dauwhe: if we're going to derive the reading order from a nav element-based TOC, all resources in the reading order do need to be specified there. 15:52:56 q+ 15:53:28 ack Avneesh 15:54:04 q+ 15:54:41 ack Hadrien 15:55:19 Avneesh: we seem to be revisiting the same discussion we've had on github. Also to clarify, we did not decide on the relationship between structural and accessibility semantics in the DOM. 15:55:22 Proposal: Delete items 2 & 3 from section 3.4.3, and modify 1 so that it is clear how to find the nav. 15:56:24 q? 15:56:26 q+ 15:56:29 Hadrien: the reason the processing sections are so complex is that we're allowing the reading order be derived from the TOC. There's also a big risks that UAs derive this data diffrently. 15:56:34 ack garth 15:56:37 ack George 15:56:41 ... there's a risk to letting UAs guess these things given their importance 15:57:22 ack bigbluehat 15:57:28 https://github.com/w3c/wpub/pull/200 15:57:33 George: Reading order is the most fundamental thing for accessibility. The TOC doesn't necessarily improve accessibility, and a badly formed TOC can make accessibilty worse. 15:58:03 q+ 15:58:23 zakim, close the qu 15:58:23 I don't understand 'close the qu', tzviya 15:58:30 zakim, close the queue 15:58:30 ok, tzviya, the speaker queue is closed 15:58:37 bigbluehat: our list of requirements is really just the address based on prose in the spec. Particularly for a single page publication, nothing else is required. 15:59:29 Hadrien: my take is that the reading order is a requirement from the infoset perspective, but if you don't include it in the manifest, we can have a true fallback (not a failure mode) where the web publication URL is the only member of the reading order. 15:59:32 +1 15:59:38 +1 15:59:39 +1 16:00:10 ... we should clearly separate the requirement for a reading order in the infoset from whether it's required in the manifest 16:00:20 +1 16:01:12 tzviya: returning to the proposal from duga... 16:02:27 duga: what if my start page is a cover and I don't want to a nav element there? 16:02:40 q? 16:03:01 ivan: in that case, put it in the manifest...the nav elements makes sense sometimes like in the case of a single page publication 16:03:24 ack Hadrien 16:04:35 q+ all of this pivots on usage 16:04:41 zheng__xu has joined #pwg 16:05:00 hadrien: I think identifying where the TOC is located is similar to identifying what is a cover, what is a privacy policy, etc. 16:05:26 garth: we're saying that the actual contents of the TOC are not included in the manifest 16:07:00 q? 16:16:55 index is confusing to book people 16:17:01 can it get a qualifier? 16:26:42 clapierre has joined #pwg 16:31:42 I need to leave so I leave you with this...manifest needs to: specify where the toc/nav is if it exists, specify the start reading page, specify the default reading order...if it does this I'm happy 16:32:02 laudrain has joined #pwg 16:45:06 ivan has joined #pwg 16:50:58 JeanK has joined #pwg 17:00:02 marisa has joined #pwg 17:02:27 scribe leonardr 17:02:38 BenWaltersMS has joined #pwg 17:02:43 scribenick: leonardr 17:03:42 garth: a few people have left but we'll continue without them... 17:04:03 ...but let's spend some time trying to wrap up the issue pre-lunch. then to a11y 17:04:21 ...here is an attempt to come to resolution 17:04:33 -- Reading order must be suss-out-able 17:04:33 -- JSON encoded 17:04:35 --