![]() |
#1 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
[Plugin] ACE - DAISY EPUB Accessibility Checker wrapper
Updated: October 4, 2019
Current Version: "0.2.2" This plugin is a simple DAISY ACE (=Accessibility Checker for EPUB) wrapper. Credits: This plugin uses an epubcfi module originally written by Kovid Goyal, which was adapted for Sigil by KevinH. System requirements: This plugin requires Sigil 0.9.5 or higher. Obviously, you'll also need to install DAISY ACE. (Theoretically, the plugin should work on Macs, too, however, I couldn't get it to work on a Mac.) Installation: 1. Visit the Inclusive Publishing website and follow the ACE installation instructions. 2. Select Manage Plugins from the Plugins menu and select Use Bundled Python, if it isn't already selected. 3. Click Add Plugin and select ACE_v0.2.2.zip. This will install the plugin, which you can select via Plugins > Validation > ACE. If ACE doesn't crash, it'll display all messages in the validation panel and in the default browser. If you don't want the plugin to display the results in a web browser change the following value in the ACE.json preferences file to false. Code:
{
"html_output": false
}
Known Issues: Since the developers apparently haven't implemented the July 2019 recommendations of the EPUB Type to ARIA Role Authoring Guide, ACE 1.1.1 might erroneously flag some tags that can't have ARIA roles attributes. License: GNU General Public License v3 (GPL-3) Last edited by Doitsu; 10-04-2019 at 06:53 AM. Reason: New plugin version with minor updates attached |
![]() |
![]() |
![]() |
#2 | |
Imperfect Perfectionist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 518
Karma: 863576
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
|
Quote:
And thanks for the plugin, it spares my old fingers some clicks ![]() Regards, Kim |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,019
Karma: 5449552
Join Date: Nov 2009
Device: many
|
Hi Doitsu,
I have modifed Kovid's Calibre cfi parsing code to run purely on Python 3 and to return stepnums in a manner that make sense to me (with -1 step indicators to indicate redirection) . With this new cfiparse.py code I should be able write an edit plugin that uses the bk to quickly convert the cfi to find the name of the problem file. I will then write some new code to walk the gumbo tree dom and return a line number and hopefully a correct character offset. With this information, you should be able to create a validation plugin that will work fully inside Sigil. Give me another week or so to put something together. KevinH |
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
![]() I really appreciate your efforts and will update the plugin once you've released the code. |
|
![]() |
![]() |
![]() |
#5 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,019
Karma: 5449552
Join Date: Nov 2009
Device: many
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Thanks to KevinH's help, I was able to convert the plugin from an edit plugin to a validation plugin.
I've attached a new version to the first post. |
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2018
Device: none
|
Thanks for the great plug in. Able to install and run it without a hitch- good work!
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2018
Device: none
|
|
![]() |
![]() |
![]() |
#10 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2018
Device: none
|
Quote:
The plugin fails though. When I look at details, I see: "Status: failed Running ACE ... please wait. -V: ace command not found" |
|
![]() |
![]() |
![]() |
#11 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Unfortunately, I don't know how to fix this. Last edited by Doitsu; 05-18-2018 at 11:18 AM. |
|
![]() |
![]() |
![]() |
#12 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 987
Karma: 1183425
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Hi, Doitsu.
Thank you for this great plugin! I've been using ACE BY DAISY for a while as a command line tool. It's really great to use it integrated with Sigil. Now... I wish this Plugin would be available for Calibre Editor as well. =) Can it be done? Last edited by thiago.eec; 11-04-2018 at 03:16 PM. |
![]() |
![]() |
![]() |
#13 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
![]() |
![]() |
![]() |
#14 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 987
Karma: 1183425
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Quote:
![]() ![]() |
|
![]() |
![]() |
![]() |
#15 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2015
Device: iPhone, iBooks, EPUB3
|
Any Updates to a Fix for the Macbook?
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
URL Checker plugin | Doitsu | Plugins | 20 | 04-18-2021 03:13 PM |
[Plugin] CSSLint - Simple CSSLint wrapper | Doitsu | Plugins | 1 | 03-23-2016 06:51 PM |
epub checker | drMerry | Development | 3 | 06-17-2011 02:04 PM |
Epub Revision - accessibility support | Nate the great | ePub | 1 | 02-23-2011 03:47 AM |
ePub to Mobi checker | MarcusStringer | ePub | 6 | 07-10-2010 01:34 AM |