|  02-09-2018, 03:39 PM | #1 | 
| Grand Sorcerer            Posts: 5,763 Karma: 24088559 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 | 
|   |   | 
|  02-12-2018, 08:46 AM | #2 | |
| Imperfect Perfectionist            Posts: 715 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 | |
|  | 
|  02-23-2018, 11:53 AM | #3 | 
| Sigil Developer            Posts: 9,071 Karma: 6361556 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 | 
|   |   | 
|  02-23-2018, 11:58 AM | #4 | |
| Grand Sorcerer            Posts: 5,763 Karma: 24088559 Join Date: Dec 2010 Device: Kindle PW2 | Quote: 
  I really appreciate your efforts and will update the plugin once you've released the code. | |
|   |   | 
|  02-26-2018, 11:39 AM | #5 | 
| Sigil Developer            Posts: 9,071 Karma: 6361556 Join Date: Nov 2009 Device: many | |
|   |   | 
| Advert | |
|  | 
|  02-26-2018, 11:54 AM | #6 | |
| Grand Sorcerer            Posts: 5,763 Karma: 24088559 Join Date: Dec 2010 Device: Kindle PW2 | Quote: | |
|   |   | 
|  02-28-2018, 06:03 AM | #7 | 
| Grand Sorcerer            Posts: 5,763 Karma: 24088559 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. | 
|   |   | 
|  05-18-2018, 06:45 AM | #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!
		 | 
|   |   | 
|  05-18-2018, 10:29 AM | #9 | 
| Junior Member  Posts: 3 Karma: 10 Join Date: May 2018 Device: none | |
|   |   | 
|  05-18-2018, 10:31 AM | #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" | |
|   |   | 
|  05-18-2018, 11:12 AM | #11 | |
| Grand Sorcerer            Posts: 5,763 Karma: 24088559 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. | |
|   |   | 
|  11-04-2018, 01:20 PM | #12 | 
| Wizard            Posts: 1,292 Karma: 1428263 Join Date: Dec 2016 Location: Goiânia - Brazil Device: iPad, Kindle Paperwhite, Kindle Oasis | 
			
			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. | 
|   |   | 
|  11-04-2018, 04:40 PM | #13 | |
| Grand Sorcerer            Posts: 5,763 Karma: 24088559 Join Date: Dec 2010 Device: Kindle PW2 | Quote: 
 | |
|   |   | 
|  11-04-2018, 04:58 PM | #14 | |
| Wizard            Posts: 1,292 Karma: 1428263 Join Date: Dec 2016 Location: Goiânia - Brazil Device: iPad, Kindle Paperwhite, Kindle Oasis | Quote: 
  ... Thanks, anyway.   | |
|   |   | 
|  06-06-2019, 04:16 AM | #15 | 
| Junior Member  Posts: 5 Karma: 10 Join Date: Dec 2015 Device: iPhone, iBooks, EPUB3 | 
				
				Any Updates to a Fix for the Macbook?
			 | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| 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 |