Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think WCAG should link to an evergreen HTML spec. These links can and do change. We shouldn't put ourselves in a position where we have to republish WCAG because WHATWG updated a definition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link has been stable for 10 years, and if the paragraph in HTML were tweaked, wouldn't we want to use the updated version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem isn't the definition changing. It's the link changing. WHATWG makes no guarantee about the location of their definitions never changing. ACT has had to update rules because HTML definitions were moved. It happens. That's an easy fix when this is in an understanding document. Not so much for a normative document. This isn't the first link to WHATWG in WCAG, but the more we do this, the greater the chance of a broken in the spec at some point in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the html standard is evergreen. you can point to a snapshot of it, but you'll get a message like this:
this seems worse to me than linking to the actual specification. more and more w3c specs are also becoming living standards. it seems maybe a conversation between the spec editors to make sure links can remain stable is a potential avenue to consider, rather than not linking to the HTML spec.?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@WilcoFiers the link was added in direct response to #2109.
As you've pointed out, we already have links to the spec elsewhere, and as Alastair points out, this has been stable for 10 years.
In the unlikely event this link changes, the class of change required to fix a broken link is the least impactful editorial change:
The WCAG 2 Task Force has a plan of an annual republish to incorporate errata (the current CFC is the first of those).
Given all these considerations, can you live with including the link?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No I don't think this works. I for one intend to object to any proposal that would result in having to update the million copies of WCAG annually. I'm not going to count on that for a solution. I think an agreement with WHATWG that certain links will never be changed could work, but such an agreement doesn't exist.
Probably the easiest solution would be for this to link to a W3C page that redirects to WHATWG. If the URL ever changes, updated where the redirect goes. That can be done without any change to WCAG.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@WilcoFiers To fix a link we could do an in-place change. This would not result in a change to the date of the document. There would be a note included in the Status section of the doc and the document title would get an addition to note the change. In terms of Process this is not arduous. Given the low likelihood of the WHATWG URI changing would this be acceptable?
Your idea for having a redirect is technically feasible. I would need to check what Webmaster would say about that since it is allowing for a change in a REC document without the change being documented in the document. Basically, in-place change without the Status note.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iadawn Linking to an evergreen spec always comes with the risk of an undocumented change. I think that's okay for an example. I think a redirect is a better solution here, since this note is going to end up being copied, link and all, into other places. With a redirect you prefer those copies from having issues too.