-
Notifications
You must be signed in to change notification settings - Fork 266
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
Clarity for programmatically determined link context term example #3361
Comments
also...maybe just me, but what is the meaning of the note there
Are we talking about weird screen reader heuristics that try to work out what is a sentence? |
also, in the wider topic, i'm still not sure if we're now ok to treat a preceding heading as being "programmatically determinable" context or not. i seem to remember we had arguments for and against, and (still) have aa advisory technique (with the usual confusing caveat that advisory can both mean "it's sufficient, and then goes beyond what the SC demands" and "it doesn't actually satisfy the SC on its own") that uses headings to provide context...but i'm sure there's related issues/PRs around that aspect somewhere |
For what it's worth, the current German BIK BITV-Test consensual stance is that the preceding heading is considered sufficient for supplying a link's context. I believe (remember from some call) that (at least parts of) the WG in retrospect consider it a mistake to have demoted H80 from sufficient to advisory. |
personally, i also think that a preceding heading 'should' be considered enough - but that doesn't really jive with what the normative text says in relation to the definition of 'programmatically determined link context'. For the preceding heading to work under the current programmatically determined link context definition/example - the preceding heading would have to also provide the accessible name for a grouping container both the heading and the link exist in. e.g.,
this then matches the example text indicating that a sole link in a table cell needs to be associated with a table header cell to provide the necessary context. Otherwise, the heading and the link just aren't programmatically associated. One could make the argument that if the example text did not refer to the table header/cell association - then 'programmatically determined' and the definition of 'relationships' are squishy enough definitions that sure, a heading and a link in a following paragraph could be programmatically determined - as could all the information from individual list items and a sole link (circling back to this PR). But the example text for 'programmatically determined link context' squashes all that with very clearly saying that the text context and the link needs to be in the same paragraph, or table cell OR a table header cell is associated with the cell that contains the link. Again hence why the mention of list alone doesn't make sense, because it contradicts the neighboring examples. If people want to use this as an opportunity to re-introduce the idea that a heading should be enough to provide context without the programmatic association I demoed above - i'm all for that. However, why just a preceding heading? Why couldn't a preceding paragraph provide that context? It's arbitrary to say one can and the other couldn't when both 'could be' programmatically determined from relationships, but neither are actually programmatically associated - as the table header + cell relationship example so clearly outlines. |
the way i'd interpret it is more: is there some unambiguous way for it to be programmatically determined (though that then clashes with the usual nebulous "but is it accessibility supported?" conundrum). as mentioned...in some previous discussion on this, "find the nearest preceding heading" is trivial for software to do, and it's unambiguous, so to my mind would count. the fact that SRs (or at least "not all SRs") don't do it/don't offer a way to do it/don't expose it is the clincher. then again, there's oodles of but yes, on the more specific aspect here of "why does this count as 'programmatically determined', but not that..." I agree, it's a bit arbitrary, and probably coloured in no small part by what SRs used to expose back in ... 2007 or so |
yup. and i'd agree with you completely if not for the example text I've referenced which is emphasizing the strictness (but per this PR, being contradictory re: lists). Would be happy if this could be changed in the opposite direction, to be more permissive and thus what you and Detlev are saying would, imo, be fine. |
see also https://www.w3.org/WAI/WCAG21/Techniques/html/H77 re list vs list item change |
Just to get this straight for a survey, are the options:
I.e. have things (AT) improved so that programmatic associations work better? |
Relevant history for H80: https://lists.w3.org/Archives/Public/w3c-wai-gl/2014JulSep/0122.html |
#3362) closes #3361 updates the term example to mention "list item" instead of "list" to be more accurate to what the intent of that likely was trying to convey. Additionally, links to the HTML term of 'paragraph', which I would submit could resolve issues such as #2109 <!-- This comment and the below content is programmatically generated. You may add a comma-separated list of anchors you'd like a direct link to below (e.g. #idl-serializers, #idl-sequence): Don't remove this comment or modify anything below this line. If you don't want a preview generated for this pull request, just replace the whole of this comment's content by "no preview" and remove what's below. --> *** <a href="https://pr-preview.s3.amazonaws.com/w3c/wcag/pull/3362.html" title="Last updated on Aug 25, 2023, 7:14 PM UTC (44450fb)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/wcag/3362/6b2b211...44450fb.html" title="Last updated on Aug 25, 2023, 7:14 PM UTC (44450fb)">Diff</a>
#3362) closes #3361 updates the term example to mention "list item" instead of "list" to be more accurate to what the intent of that likely was trying to convey. Additionally, links to the HTML term of 'paragraph', which I would submit could resolve issues such as #2109 <!-- This comment and the below content is programmatically generated. You may add a comma-separated list of anchors you'd like a direct link to below (e.g. #idl-serializers, #idl-sequence): Don't remove this comment or modify anything below this line. If you don't want a preview generated for this pull request, just replace the whole of this comment's content by "no preview" and remove what's below. --> *** <a href="https://pr-preview.s3.amazonaws.com/w3c/wcag/pull/3362.html" title="Last updated on Aug 25, 2023, 7:14 PM UTC (44450fb)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/wcag/3362/6b2b211...44450fb.html" title="Last updated on Aug 25, 2023, 7:14 PM UTC (44450fb)">Diff</a> (cherry picked from commit 3d88e14)
#3362) closes #3361 updates the term example to mention "list item" instead of "list" to be more accurate to what the intent of that likely was trying to convey. Additionally, links to the HTML term of 'paragraph', which I would submit could resolve issues such as #2109 <!-- This comment and the below content is programmatically generated. You may add a comma-separated list of anchors you'd like a direct link to below (e.g. #idl-serializers, #idl-sequence): Don't remove this comment or modify anything below this line. If you don't want a preview generated for this pull request, just replace the whole of this comment's content by "no preview" and remove what's below. --> *** <a href="https://pr-preview.s3.amazonaws.com/w3c/wcag/pull/3362.html" title="Last updated on Aug 25, 2023, 7:14 PM UTC (44450fb)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/wcag/3362/6b2b211...44450fb.html" title="Last updated on Aug 25, 2023, 7:14 PM UTC (44450fb)">Diff</a> (cherry picked from commit 3d88e14)
#3362) closes #3361 updates the term example to mention "list item" instead of "list" to be more accurate to what the intent of that likely was trying to convey. Additionally, links to the HTML term of 'paragraph', which I would submit could resolve issues such as #2109 <!-- This comment and the below content is programmatically generated. You may add a comma-separated list of anchors you'd like a direct link to below (e.g. #idl-serializers, #idl-sequence): Don't remove this comment or modify anything below this line. If you don't want a preview generated for this pull request, just replace the whole of this comment's content by "no preview" and remove what's below. --> *** <a href="https://pr-preview.s3.amazonaws.com/w3c/wcag/pull/3362.html" title="Last updated on Aug 25, 2023, 7:14 PM UTC (44450fb)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/wcag/3362/6b2b211...44450fb.html" title="Last updated on Aug 25, 2023, 7:14 PM UTC (44450fb)">Diff</a> (cherry picked from commit 3d88e14)
The current (and by that I mean since wcag 2.0) programmatically determined link context term example text reads:
The issue I see with this is the simple mention of 'list', rather than 'list item' - particularly in relation to the other examples provided.
Without that qualification, it reads that the following would be fine:
but based on all the issues/discussion that already exist concerning this topic, and the additional examples related to tables in that example text, the following (text and link within the same list item) is likely what was actually intended):
Additionally, I think to help resolve issues like #2109 - since this example text is already mentioning "in html", it might be a good idea to link the word 'paragraph' to the HTML definition of paragraph, so as to help squash the question of "does paragraph mean 'paragraph' or
p
element?" without having to amend that text further to indicate that<div>.... <a href>...</a></div>
or<blockquote>.... <a href=>...</a> ...</blockquote>
, etc. are also providing said context.The text was updated successfully, but these errors were encountered: