openzim / mwoffliner

Mediawiki scraper: all your wiki articles in one highly compressed ZIM file
https://www.npmjs.com/package/mwoffliner
GNU General Public License v3.0
275 stars 72 forks source link

Accessibility – hyperlinks are invisible #1994

Open kelson42 opened 7 months ago

kelson42 commented 7 months ago

From kiwix-android created by Paol-M: kiwix/kiwix-android#3482

Hyperlinks are indistinguishable from other text for completely colorblind individuals or those who use grayscale mode on their phone.

kelson42 commented 7 months ago

Or sleep mode really, making it even more important. I'd suggest maybe underline, italicize, or bolden links.

kelson42 commented 7 months ago

which zim file do we talk about exactly?

kelson42 commented 7 months ago

The issue is in Wikipedia, Wiktionary, and probably many other ZIMs.

kelson42 commented 7 months ago

@Paol-M But the link are exactly like on the online version!? So you have the same problem with en.wikipedia.org for example?

kelson42 commented 7 months ago

No, I don't have the same problem. On the online version, links appear as a slightly different shade of black, and, in the setting, I have the option to enable underlining links. In the Kiwix app for Android, links and non-links are indistinguishable in both dark and light mode.

kelson42 commented 7 months ago

Moving to `openzim/mwoffliner

Jaifroid commented 5 months ago

@kelson42 If we could revive the ZIM contents API idea, this would be an ideal candidate. It would be extremely easy to alter hyperlink appearance in CSS, but so as to avoid each reader implementing it in a custom way, it would be much better to have an API for style customization.

On the other hand, I suppose the issue might not be confined to mwOffliner.