|  05-24-2024, 06:27 PM | #31 | 
| Bibliophagist            Posts: 48,088 Karma: 174315300 Join Date: Jul 2010 Location: Vancouver Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos | 
			
			Ran 0.9.7 against my 4 ePubs and same results. A quick hex search showed at most one APP1 (0xFFE1) in any of the files so likely why I did not run into the issue.
		 | 
|   |   | 
|  05-25-2024, 08:31 PM | #32 | 
| Connoisseur            Posts: 83 Karma: 2138296 Join Date: Nov 2016 Device: ipad, Kindle Scribe, Kobo Libra 2 | 
			
			I just came across what seems to be a new addition to InDesign that provides exactly the same functionality to this new addition to Access-Aide. It is in Object Styles under Export Options. Two new options have been added to the Alt-Text-Source in addition to the three XMP options that were already there: They are: From XMP: Alt Text (Accessibility) and From XMP: Extended Description (Accessibility). I do not know when these options were added. | 
|   |   | 
|  05-25-2024, 08:52 PM | #33 | 
| Sigil Developer            Posts: 9,070 Karma: 6361556 Join Date: Nov 2009 Device: many | 
			
			Thanks for letting me know. I never use InDesign and so was unaware of what they do or don't do.  I tried it early on but the quality of the xhtml code and css code it generated was just too poor for my taste.
		 | 
|   |   | 
|  05-25-2024, 09:02 PM | #34 | 
| Connoisseur            Posts: 83 Karma: 2138296 Join Date: Nov 2016 Device: ipad, Kindle Scribe, Kobo Libra 2 | 
			
			Yes, Kevin poor css and html. I have to use InDesign because ALL the files I am sent to convert to epub are InDesign files. But now I turn off having indesign generate css files and use my own.  Sigil is my main tool for my post export work. | 
|   |   | 
|  04-25-2025, 08:41 PM | #35 | 
| Connoisseur            Posts: 83 Karma: 2138296 Join Date: Nov 2016 Device: ipad, Kindle Scribe, Kobo Libra 2 | 
			
			Just ran into a problem while using Access-Aide to fill the alt-text for an ebook that contained 145 images. The plugin worked wonderfully well after using exiftool to populate the AltTextAccessibility field in the image metadata.  But then the author sent a new file of corrected alt-text descriptions, without highlighting the corrections. So we had to repeat the process. BUT the Access Aide plugin only works if the existing alt="....." is empty. Is is possible to indicate to the plugin, that it's OK to overwrite any existing alt-text entries? I did use a regex work around to remove the existing alt-text, but not being a frequent regex user, there were a couple of issues to solve. | 
|   |   | 
|  04-25-2025, 09:11 PM | #36 | 
| Sigil Developer            Posts: 9,070 Karma: 6361556 Join Date: Nov 2009 Device: many | 
			
			My first thought was that using regex, it would be quite straightforward to find and remove all alt attributes and their contents from img tags.  And once you have that regex you can save it as a Saved search so it is easy to find and reuse.  Access Aide uses the same approach for contents of title tags inside head tags (ie if you want Access Aide to fill them they must be empty). What issues did you run into? | 
|   |   | 
|  04-25-2025, 10:31 PM | #37 | |
| Connoisseur            Posts: 83 Karma: 2138296 Join Date: Nov 2016 Device: ipad, Kindle Scribe, Kobo Libra 2 | Quote: 
 I just used this for the search: alt="(.+)" , and while it found all the alt-text , there were other strings that matched the search. So I had to step through the search. Sometimes it's quicker to do that than trying to find the correct regex search. | |
|   |   | 
|  04-26-2025, 12:18 AM | #38 | |
| Grand Sorcerer            Posts: 5,763 Karma: 24088559 Join Date: Dec 2010 Device: Kindle PW2 | Quote: 
 The following regex should only match the alt attribute, even if the Minimal Match option is deactivated. Code: alt="[^"]+" | |
|   |   | 
|  04-26-2025, 09:39 AM | #39 | 
| Connoisseur            Posts: 83 Karma: 2138296 Join Date: Nov 2016 Device: ipad, Kindle Scribe, Kobo Libra 2 | 
			
			Many thanks for that regex, Doitsu. I've saved it for future use.
		 | 
|   |   | 
|  | 
| Tags | 
| access-aide, alt text | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [Plugin] Access-Aide - help improve epub accessibility | KevinH | Plugins | 147 | 10-15-2024 10:25 AM | 
| Bug: splitting pages after using Access Aide | oston | Sigil | 4 | 04-08-2024 07:59 AM | 
| [Editor Plugins] Access Aide | wolf123 | Plugins | 5 | 07-08-2023 01:10 PM | 
| access-aide failure | oston | Sigil | 5 | 06-27-2023 03:42 PM | 
| Alt Text in epub | Lancelot | ePub | 3 | 09-11-2013 03:55 AM |