-
Notifications
You must be signed in to change notification settings - Fork 15
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
Deprecating terms #48
Comments
This would, I believe, be more consistent with how definitions are
handled in specs in general. It also seems that it would involve less
duplication, which seems like a win too.
|
100% agree - but I don't have the bandwidth to do this right now. We can plan this in the 1.3 ARIA release timeframe. |
@marcoscaceres can you add a link to documentation that explains how exported terms work. Thanks. |
@jnurthen some detailed documentation at https://github.com/w3c/respec/wiki/data-export However, it's as easy as just adding a <dfn data-export="">exported term</dfn> And then from another spec, you just do: <body data-cite="some-other-spec">
<p>
These are the same: [=exported term=] or <a>exported term</a>
</p>
</body> |
@jnurthen I can help get things started with accessible name, if you would like? @aarongustafson and I need some of those definitions for the Web Manifest spec - and could show serve as good examples for how to do the exports. We can also try to track down any broken references. |
I’d be happy to help with this as well. Would it make sense to start with migrating accessible name & description to that spec, adjusting the references in each of the current ARIA repos (and our own) and then removing them from the terms file? Doing it on a small scale like that could provide a good blueprint for the whole process. We could document the steps to provide a guide for the other terms to get migrated over time. |
Sounds like a plan @aarongustafson. |
Please be aware that all the terms are currently added to each spec using |
Part of this would be removing |
I'm not clear on how exactly terms get added to the shepherd DB. In order to do this (and test it out amongst our dependent specs) I'll need the terms in shepherd but I don't know exactly how to make this happen. Also - how to we get the correct version of an external spec to be referenced? |
We are now using WebRef. It states that:
@dontcallmedom might be able to answer any specific questions about how the data is harvested.
For, say, specific "core-aam 1.3" terms, you would do something like: <section data-cite="core-aam-1.3 wai-aria-1.3">
<p>In [[core-aam-1.3]] some [=special term=] is used, and so it this [=other term=].</p>
<p>Similarly, this term from wai-aria 1.3 [=wai thing=] can then be referenced.</p>
</section> To see more details/examples, please see the docs: |
Note, the core-aam-1.3 needs to be actually published to TR (as the exported terms are harvested from TR)... same with wai-aria-1.3. However, it should be fairly straight forward. |
@webref collects definitions from specs listed in https://github.com/w3c/browser-specs every 6 hours for editors drafts, and every week for their equivalent TR versions (when they exist) - being published on TR is not a per-requisite for having definitions harvested. The best way to check which terms have been harvested is through https://respec.org/xref/?term= - it assumes the terms are defined in specs using the proper respec conventions, including being marked as |
Ah, yes! I forgot. It was misremembering as it was for Shepherd. |
I'm wondering if we can come up with a plan to deprecate the terms.html file. With ReSpec now supporting the ability to cross-reference terms "exported" to the Shepherd database, the terms.html should no longer be needed.
Instead, each spec should define and export its own terms.
The text was updated successfully, but these errors were encountered: