Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 02-04-2021, 01:14 PM   #1
wolf123
Member
wolf123 began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Jun 2020
Device: nook simple touch
[Editor Plugins] Access Aide

Access Aide Editor Plugin

Description
Access Aide is a Calibre plugin to enhance accessibility features in epub files to comply with the WCAG 2.0 – AA guidelines.

Features
Current features are:
  • Add language declaration to <html> tags;
  • Map epub:type attributes to their appropriate aria role attribute;
  • Add accessibility declarations to book metadata.

Usage
This plugin can be used as part of an InDesign-based workflow to produce accessible epubs. InDesign is (at the time of writing) capable of adding language information to OPF files and appropriate epub:type to html tags. The plugin reads this information and adds language declarations, aria roles and metadata statements to comply with the WCAG 2.0 – AA guidelines for accessible publications.

This plugin is a port for Calibre of the excellent Access Aide plugin developed for Sigil.

Version History
Please refer to the repository release notes on Github.

Licence
This software is released under GPL v3.

Links
Github: https://github.com/lb803/access-aide
Attached Files
File Type: zip access-aide-v0.1.15.zip (132.0 KB, 28526 views)

Last edited by wolf123; 04-06-2023 at 12:53 PM. Reason: Update zip package
wolf123 is offline   Reply With Quote
Old 02-06-2021, 03:43 AM   #2
wolf123
Member
wolf123 began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Jun 2020
Device: nook simple touch
[reserved for test requests]
wolf123 is offline   Reply With Quote
Advert
Old 03-30-2023, 12:01 PM   #3
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,082
Karma: 1221485
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Hi

I'm getting this error with the latest version:

Spoiler:
Code:
calibre, version 6.14.1
ERRO: Exceção sem tratamento: <b>AttributeError</b>:type object 'QCompleter' has no attribute 'PopupCompletion'

calibre 6.14.1  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.10.1
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: pt_BR
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 51, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (1, 51, 0) && ACE (1, 1, 6) && Access Aide (0, 1, 14) && Annotations (1, 17, 13) && Calibre Power Search Plugin (2, 2, 0) && Check Books (0, 1, 5) && Count Pages (1, 12, 1) && Diaps Editing Toolbag (0, 4, 0) && EpubCheck (0, 2, 4) && EpubMerge (2, 15, 0) && EpubSplit (3, 5, 0) && Favourites Menu (1, 3, 0) && Find Duplicates (1, 10, 7) && Goodreads (1, 7, 3) && KFX metadata reader (from KFX Input) (1, 51, 0) && KFX Input (1, 51, 0) && Set KFX metadata (from KFX Output) (1, 66, 0) && KFX Output (1, 66, 0) && KindleUnpack - The Plugin (0, 83, 1) && Open With (1, 8, 1) && Quality Check (1, 13, 3) && ScrambleEbook (0, 6, 0) && Skoob Books (1, 5, 4) && Skoob Sync (0, 5, 2) && Sum Column (0, 3, 1) && TTS to MP3 (0, 6, 0) && TextDiff (1, 2, 1) && ePub Extended Metadata {Writer} (0, 8, 1) && ePub Extended Metadata {Reader} (0, 8, 1) && ePub Extended Metadata (0, 8, 1)
Traceback (most recent call last):
  File "calibre_plugins.access_aide.main", line 61, in prompt_config
  File "calibre_plugins.access_aide.config", line 102, in __init__
  File "calibre_plugins.access_aide.config", line 196, in access_group
  File "calibre_plugins.access_aide.config", line 71, in __init__
AttributeError: type object 'QCompleter' has no attribute 'PopupCompletion'
thiago.eec is offline   Reply With Quote
Old 04-06-2023, 12:57 PM   #4
wolf123
Member
wolf123 began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Jun 2020
Device: nook simple touch
Hi Thiago,

Many thanks for this!

For some reason I was running an old version of calibre (5-something), and wasn't aware of this issue with calibre 6+.

I pushed a new version of the plugin (v 0.1.15), I hope this fixes the issue for you.

Quote:
Originally Posted by thiago.eec View Post
Hi

I'm getting this error with the latest version:

Spoiler:
Code:
calibre, version 6.14.1
ERRO: Exceção sem tratamento: <b>AttributeError</b>:type object 'QCompleter' has no attribute 'PopupCompletion'

calibre 6.14.1  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.10.1
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: pt_BR
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 51, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (1, 51, 0) && ACE (1, 1, 6) && Access Aide (0, 1, 14) && Annotations (1, 17, 13) && Calibre Power Search Plugin (2, 2, 0) && Check Books (0, 1, 5) && Count Pages (1, 12, 1) && Diaps Editing Toolbag (0, 4, 0) && EpubCheck (0, 2, 4) && EpubMerge (2, 15, 0) && EpubSplit (3, 5, 0) && Favourites Menu (1, 3, 0) && Find Duplicates (1, 10, 7) && Goodreads (1, 7, 3) && KFX metadata reader (from KFX Input) (1, 51, 0) && KFX Input (1, 51, 0) && Set KFX metadata (from KFX Output) (1, 66, 0) && KFX Output (1, 66, 0) && KindleUnpack - The Plugin (0, 83, 1) && Open With (1, 8, 1) && Quality Check (1, 13, 3) && ScrambleEbook (0, 6, 0) && Skoob Books (1, 5, 4) && Skoob Sync (0, 5, 2) && Sum Column (0, 3, 1) && TTS to MP3 (0, 6, 0) && TextDiff (1, 2, 1) && ePub Extended Metadata {Writer} (0, 8, 1) && ePub Extended Metadata {Reader} (0, 8, 1) && ePub Extended Metadata (0, 8, 1)
Traceback (most recent call last):
  File "calibre_plugins.access_aide.main", line 61, in prompt_config
  File "calibre_plugins.access_aide.config", line 102, in __init__
  File "calibre_plugins.access_aide.config", line 196, in access_group
  File "calibre_plugins.access_aide.config", line 71, in __init__
AttributeError: type object 'QCompleter' has no attribute 'PopupCompletion'
wolf123 is offline   Reply With Quote
Old 04-06-2023, 02:08 PM   #5
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,082
Karma: 1221485
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by wolf123 View Post
Hi Thiago,

Many thanks for this!

For some reason I was running an old version of calibre (5-something), and wasn't aware of this issue with calibre 6+.

I pushed a new version of the plugin (v 0.1.15), I hope this fixes the issue for you.
It's working now. Thanks!
thiago.eec is offline   Reply With Quote
Advert
Old 07-08-2023, 02:10 PM   #6
AaronShep
Connoisseur
AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.AaronShep could sell banana peel slippers to a Deveel.
 
Posts: 56
Karma: 3274
Join Date: Dec 2011
Device: iPad
not working in High Sierra

This doesn't work for me on High Sierra. I can open the plugin, but if I try to click OK or Cancel, I get the following error and I have to force quit the calibre module:

calibre, version 3.48.0
ERROR: Unhandled exception: <b>TypeError</b>:super() takes at least 1 argument (0 given)

calibre 3.48 embedded-python: True is64bit: True
Darwin-17.7.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '17.7.0', 'Darwin Kernel Version 17.7.0: Fri Oct 30 13:34:27 PDT 2020; root:xnu-4570.71.82.8~1/RELEASE_X86_64')
Python 2.7.15
OSX: ('10.13.6', ('', '', ''), 'x86_64')
Interface language: None
Successfully initialized third party plugins: Access Aide (0, 1, 15)
Traceback (most recent call last):
File "calibre_plugins.access_aide.config", line 325, in accept
TypeError: super() takes at least 1 argument (0 given)

I think the problem is that it's using Python 2.7 even though I also have 3.9 installed on my system. In fact, it kept using 2.7 even after I made 3.9 the system default by aliasing python to python3. (Since that didn't help, I've removed the alias.)

Thanks if you can help!

Aaron
AaronShep is offline   Reply With Quote
Reply

Tags
accessibility, calibre, editor plugin, plugin


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] Access-Aide - help improve epub accessibility KevinH Plugins 147 10-15-2024 11:25 AM
Editor doesn't start if an editor plugins fails Terisa de morgan Editor 4 12-29-2020 02:47 AM
Editor plugins and the current book_id jackie_w Development 2 07-19-2016 02:49 PM
SizePersistedDialog behavior in Editor plugins DiapDealer Development 10 04-20-2015 10:44 AM
plugin_path for editor plugins. DiapDealer Development 3 08-04-2014 07:02 AM


All times are GMT -4. The time now is 09:44 AM.


MobileRead.com is a privately owned, operated and funded community.