Page MenuHomePhabricator

Exported EPUB files switch off font resizing in webkit eBook readers
Closed, ResolvedPublic

Description

Author: andrew.homer

Description:
In testing the EPUB export for accessibility I have discovered that font resizing for body text seems to be switched off for webkit eBook readers such as Apple iBooks on the iPad. This appears to be done in the exported CSS file:

-webkit-text-size-adjust: none; }

This means that partially sighted users who would normally set a larger font size are prevented from doing so if using webkit readers. Adobe Digital Editions and similar eBook readers are not affected of course as they are not webkit based. However, the general accessibility of Apple devices means than many blind and partially sighted users prefer them.

The addition of EPUB export for Wiki articles is potentially of great benefit to users with print disabilities because of the wide range of adjustments which can be made to the eBooks depending on the reading devices used. It is therefore a great shame to restrict font resizing on a significant number of otherwise accessible devices.

Many thanks

Andrew Homer
RNIB (Royal National Institute of Blind People)


Version: unspecified
Severity: normal

Details

Reference
bz40330

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:58 AM
bzimport added a project: Collection.
bzimport set Reference to bz40330.
bzimport added a subscriber: Unknown Object (MLST).

volker.haas wrote:

Thanks for pointing out this bug. I fixed it with https://github.com/pediapress/mwlib.epub/commit/54abe34084cbc95e7cd20af52622bdfbadb9d5fb

Note that the fix has not yet been deployed.

andrew.homer wrote:

Many thanks for fixing this so promptly Volker! It will make a huge difference to people with print disabilities.

Best regards

Andrew
RNIB

ralf_wikimedia wrote:

(In reply to comment #3)

Commit link is broken...

strange. it was fine in the email bugzilla sent out.
here it is again:

https://github.com/pediapress/mwlib.epub/commit/54abe34084cbc95e7cd20af52622bdfbadb9d5fb

and rot13-encoded

uggcf://tvguho.pbz/crqvncerff/zjyvo.rcho/pbzzvg/54nor34084pop95r7pq20ns52622oqsonqo9q5so

ralf_wikimedia wrote:

(In reply to comment #4)

(In reply to comment #3)

Commit link is broken...

strange. it was fine in the email bugzilla sent out.
here it is again:

https://github.com/pediapress/mwlib.epub/commit/0

and rot13-encoded

uggcf://tvguho.pbz/crqvncerff/zjyvo.rcho/pbzzvg/54nor34084pop95r7pq20ns52622oqsonqo9q5so

cool. and the rot13-encoded version doesn't get clobbered.