-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Guidance on display of external URLs in lessons #201
Comments
Tagging @serahrono as I think this falls into accessibility work she is doing. |
I believe URLs are automatically shown in full when you print lesson content. (At least in the old infrastructure they were.) So the "lemma" on links in the style guide applies, in my opinion: use meaningful text as link text, not URLs. |
@elletjies Do you want to keep this issue active in the new handbook? If it is no longer relevant, we can close this issue. Note for now, would just be moving the issue to the new handbook. We don't need to create new resources or materials yet. Asking you as this is accessibility related; not sure who the best person to ask for this would be. |
@maneesha could we move it to the new handbook so that CET can have a deeper discussion? |
@tobyhodges What should we do with this issue? |
It is best practice for web accessibility to use meaningful link text, and I believe the lessons and handbooks are read online much more often than they are printed out/downloaded as a PDF. It looks like CSS can be used to add the URLs after links in the print version, as suggested by @bencomp above, so I will open an issue on varnish where we can discuss that further. Do you want to explore adding that to the CSS here too? If not, I suggest that the issue is closed. |
I don't know why I tagged Toby on this -- I think I meant to tag @elletjies Anyhow, we did get an interesting solution from Toby, so I tried it out. See PR #290 Also tagging @froggleston for input. |
@maneesha this is really great! Thank you @tobyhodges |
To follow up on this issue, I shared above what the printed page might look like on the home page, where the links are short and neat. This is what it would look like on a page with long links: This is what that same section would look like if links were not printed I do not have expertise in accessibility but I do think that having those long links in the printed text (that no one would ever actually type out) makes it much more difficult to read. We do not have the capacity right now to make this view optional - it either displays for every printed page or does not. (If anyone knows of an easier way to do this please share!) You can test out what the printed view would look like by following the Netlify preview link in #290 and printing from there. (You don't actually need to print it; you can see it from your browser's print preview) |
Yes, those URLs are long and potentially hard to type without errors, but this is good to have. If I printed these pages and really found the URLs distracting, I can use a marker or pen to cross them out. |
@maneesha, I agree the links are quite distracting. I'm also not sure what a screen readers would read (if it does include the links) that would be problematic. |
@elletjies a screen reader can read the non-print version, I think, so although it may announce the link, I don't think it would always read out the full URL. Note that I have not used screen readers myself. |
I have only dabbled with screen readers and have not really used them myself, but I don't think that would be a concern as the screen reader would read the web page directly, not the printed version (unless it was reading a displayed pdf, which could be possible). I would personally find those long urls very distracting on a printed page but I also don't often print things to read so I would not be a primary user of this feature. The original issue as it was opened many years ago also seems to be intended for lessons, not necessarily the handbook, so that's another consideration. |
I discussed this with @froggleston |
Before Library Carpentry lessons formally joined the Carpentries, we had some discussion about the display of URLs in lessons (see data-lessons/library-openrefine-DEPRECATED#54)
tl/dr; should we include full URLs in the lesson visible to the users so they can be read both on screen and in print outs, or should they be done as hyperlinks with sensible link text instead of the full URL displayed
Guidance on this in the style guide would be appreciated
The text was updated successfully, but these errors were encountered: