-
Notifications
You must be signed in to change notification settings - Fork 12
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
Categories, meaning & extensibility #7
Comments
I agree with all the points you made. The categories in the explainer are currently undescribed and a bit hand-wavy. |
With the understood caveats that the current example categories are hand-wavy, I think it makes senses to add |
I'd note that:
That content has categories... further reinforces my general sense that "channels"/categories/scope or some kind of top-level containerization context would greatly benefit the web & it's many APIs. |
I'm a bit concerned around the extensibility situation for categories.
First, in the spec itself, a comprehensive listing of categories that are guaranteed to be understood as a baseline would be a good idea.
The list that is there (in the IDL) is undescribed and opaque; what's the meaning of the different values, and when should they be used? E.G., I see
audio
andarticle
are separate categories; which one does a spoken rendition of a magazine article fall into? That also seems quite different to a piece of music, but both could fall underaudio
. Maybe this should be using something like schema.org's ontology, taking a combination of all the (understood) categories.Categories are inextensible without some way to indicate less-preferred-but-more-understood fallbacks. ARIA and some CSS properties have a first-understood-value-wins rule; alternatively, a combination of all the applicable understood values could be used, like RDFa and microformats.
(This point really is a quibble.) Using un-namespaced tokens for
category
means that extension is risky, as someone else might be using the values you add. If the values were URLs, anyone could mint new values without risking collisions.The text was updated successfully, but these errors were encountered: