Adding a hreflang test - #173
Conversation
I haven't heard of a reading system that uses linked records, let alone individual properties, let alone individual properties that would take parsing their value out of a grammar to obtain, so I suspect there will never be implementations to test. I wonder if this is a case for a lowercase "must", since it feels oddly familiar to what we just discussed with respect to SVG. We're saying that the language specification in the package document is advisory and that's all that matters from an EPUB perspective. Do we need to require that reading systems obey the language specification rules of the host format, or is that implicit in the processing of any linked data? |
|
This is more what I'm thinking it should be:
|
That sounds perfectly fine to me. Let us do a PR on the spec and see what the chairs say... |
|
I was just looking over the recent changes we've done, and this requirement is actually redundant with the following paragraph in the internationalization section:
I'll open a pull request with an additional reference to this paragraph, but I wonder if we can delete this bit of duplication completely? |
|
Closing this without merging as we've removed the requirement in w3c/epub-specs#2343 |
The PR adds a tests to the link element in §5.3 of the reading system spec, for the following statement:
This requires careful review. I rely on the possibility of using a
<link>to define a description:and checking whether the display of the result is done in the 'language unknown' or the French way. I hope that is correct, although two things bother me:
dc:description, butdcis not allowed for the value ofrelin thelinkelement, onlydcterms:description. Technically, these two are different.I am all open to use a different example for
hreflangtesting, but I ran out of ideas...(The anchors in the spec are not yet set.)