This content is perceivable by all browsers but should not be copiable by most.
The standard says this content should not be perceivable by screen readers.
This content is rendered via JavaScript and is not perceivable for those without JavaScript
About hiding some parts of the DOM tree with aria-hidden attribute.
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-hidden_attribute
I'm :+1: to making accessibility-first designs / markup. We forgot that
completely when accepting new color scheme for haddock. The accessible
and pretty-looking are not in conflict, but not easy.
- Oleg
On 15.11.2020 17.19, M Douglas McIlroy wrote:
>> I am pretty sure nobody writes code like this
>> I confirmed your example, reading with lynx and w3m.
>> wouldn’t just directly opening the sources (in a text editor) be simpler? Is there a (simple) way to preserve the experience when browsing using Lynx without also holding back features aimed at a regular browsing experience?
> I second that. I have always been annoyed by the ransom-note
> appearance of colorized listings. But that's just my taste. I
> suspect, though, that lots of people have been frustrated when they
> discover they can't use the code they see because it's festooned with
> markup. Golang.org offers similar listings, but also provides a button
> for selecting the underlying plain text. I would like hackage a lot
> better if it did so, too.
>
> Doug
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.