Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For manifest in FPWD: Should Natural Language be Required per WCAG 2 #29

Closed
Ryladog opened this issue Aug 14, 2017 · 10 comments
Closed

Comments

@Ryladog
Copy link

Ryladog commented Aug 14, 2017

https://rawgit.com/w3c/wpub/manifest-consensus-proposal/index-manifest-proposal.html#abstract-versus-concrete-manifest

@lrosenthol
Copy link

I assume that the relevant portion of WCAG on this one is https://www.w3.org/TR/2008/REC-WCAG20-20081211/#meaning-doc-lang-id

If so, this clearly refers to a web page - which is a single content document in a publication. There is nothing here in WCAG about the requirement that language be specified for the entire publication.

Also, given that the manifest (where the language will appear) does not have any text that needs to be specified - such a value in the manifest serves no practical need. However, it might be useful as metadata for something like search or identification - but that's why it shoudl be optional.

@avneeshsingh
Copy link

avneeshsingh commented Aug 16, 2017

In WCAG 2.1, a publication consisting of set of files can also fall in definition of Webpage. The example of publication is added in definition of webpage
http://www.w3.org/TR/WCAG21/

This was to provide update for the work done in WCAG 2.1.
But coming to practical use, AT is more concerned with language of current HTML page instead of the language code placed in manifest.
On the other hand, language in metadata is important for search and discovery for accessibility reasons also. If my screen reader does not support Japanese, I should know from metadata itself (before loading the Japanese publication) that my AT will not work on the publication.

@lrosenthol
Copy link

lrosenthol commented Aug 16, 2017 via email

@laudrain
Copy link

I do agree with 1 and 2.
1 will also be for AT reading the metadata (title, authors) in proper language.

@iherman
Copy link
Member

iherman commented Aug 16, 2017

Thinking about this a bit further, I just realized that

  • We know that each HTML file (looking at those only for the moment) have a language tag (albeit it may be the default, ie, English)
  • I do not think that a language tag provided in the manifest should overwrite the language information in a specific primary resource

Which tells me that the language tag in a manifest may be valid for the manifest only, as far as reading, etc, goes. If this is indeed the case, then its usage is, after all, fairly limited and very specific...

(Yes, the situation is different for, say, primary resources that are all images.)

@iherman
Copy link
Member

iherman commented Aug 16, 2017 via email

@mattgarrish
Copy link
Member

Which tells me that the language tag in a manifest may be valid for the manifest only

That depends on what we're talking about. If it's language declaration for any text in the the json file, yes. If it's like dc:language in the EPUB package file, then no.

The reason EPUB requires language up in the package document is also because you can't necessarily easily determine when a publication is multilingual by inspecting the content. It also allows the user agent to quickly provide the option for downloading a dictionary, TTS extension, etc.

I can't argue it has to be required when it's only providing hints to the content, though.

And it doesn't set the language of any of the resources in the publication, so in that sense it is limited to the manifest.

But I can't see an xml:lang-like property being a stand-in for declaring a multilingual publication, since repeating it would result in gibberish.

@iherman iherman changed the title For manifest in FPWD: Should Natural Langauge be Required per WCAG 2 For manifest in FPWD: Should Natural Language be Required per WCAG 2 Aug 16, 2017
@lrosenthol
Copy link

lrosenthol commented Aug 16, 2017 via email

@avneeshsingh
Copy link

Having multiple languages in metadata is important in some cases e.g. English to French dictionary. But, it looks that something like double core metadata is a better choice for it instead of xml:lang attribute.

@iherman
Copy link
Member

iherman commented Aug 27, 2017

Note the discussion related on PR #51, e.g., #51 (comment) and what preceded it.

@mattgarrish
Copy link
Member

Closing this issue as discussed on the 2017-08-28 call. Issue #53 picks this up in relation to the current wording.

@iherman
Copy link
Member

iherman commented Aug 29, 2017

See telco discussion on closure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants